From patchwork Tue Mar 14 12:11:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69558 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1721071wrd; Tue, 14 Mar 2023 05:16:35 -0700 (PDT) X-Google-Smtp-Source: AK7set/pd9g4I7up//VXKJ9tYjQxP652/TSspnszyexfLA9wEreTgCOwBOlxvwBOs5bl56Oe2EGx X-Received: by 2002:a05:6a20:12cd:b0:cd:40b4:bc75 with SMTP id v13-20020a056a2012cd00b000cd40b4bc75mr41933197pzg.48.1678796195316; Tue, 14 Mar 2023 05:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796195; cv=none; d=google.com; s=arc-20160816; b=HUTs1olEnua6+p5Uo0j9soNicxoKSSc3rT1J914KVvyTsuTYJtasVlVEFXbBtEdYuu wx1YzelNrVgGjz3/KxqFi7x9u/sK3xH47NaT5vpu5KIMAb4G1tG20qO1waMCjgN209Pg uICvEWIy9X3xLQl4U2aPeoxHUkkhMde2LYMEsNSCjwMICXxf+cx5pyrRtrWhLrMUb5W5 uQWM9+53fXmjgWR7QgxMyYx8CsV/xcgjWTsZ+yKJsuLNfGk80FZAfjMnEOkg5h8sjenN osK+aW1ARjOFn54v3gRx23WLe64uSDDBy9fkTg182639Cp9xpslzCxNF1XFS8dOwW6N4 wojQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PWOdpu7huu3x6L9OitOqCOlr3p7FNjAIQDP7DCrE7uo=; b=fSBBFQYxPMwqBv+wjmWis4Nd9mq5vZvNjmK/WQ6g24fo12aK4w42mOHl6ZsyU2H9ws MU5fLTwOaePZxKxLlVyazG2ZqOTDkEDyWI4sW1bxjXts8erWoOVnaL9bLjjpQC2AnelT l1i8RVmaN3JP0Yx1vASuefxyXygcm4F9CGNy3JSJ+1u0yTdjVPFgBaOjJ3U9rOxcMo/S Y2TLVJfExZMGYV1mSdgWma848sujORl9IGKda8KtgXH9Mj+WF8uSiN5ROlGGdfDYPnsb krygcbHD6at9fgcNXl5SvYP8BIrxrYB7I0y7QjwCEsHpncjtkkDyicwWNf7YMvTCn26T kmnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PSOIXDRk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k62-20020a638441000000b004fac6261103si2055623pgd.843.2023.03.14.05.16.21; Tue, 14 Mar 2023 05:16:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=PSOIXDRk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231811AbjCNMNd (ORCPT + 99 others); Tue, 14 Mar 2023 08:13:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbjCNMNS (ORCPT ); Tue, 14 Mar 2023 08:13:18 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED2C685376; Tue, 14 Mar 2023 05:12:46 -0700 (PDT) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EAWXjf010453; Tue, 14 Mar 2023 12:12:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=PWOdpu7huu3x6L9OitOqCOlr3p7FNjAIQDP7DCrE7uo=; b=PSOIXDRkQ24agpUZMWZ+56b0xC8BSV7Zs1ugV5P7F+GIEf1rXv1a1qHIR2tnvgY7srAP ulU/PlGT+3YiSxvEy5KelrKZwSTBVAfvNQlVDLnkXmRqYvU2rL2cNi7d9vcCA7qDyhCo 46O18KmySduR6Fo30pLjaSeuo3Xgyq8XI1/F+5aIXI/BKq6n0Z1TOP2mde4DmRUb1eLp SC8+/ahRVXhebYRoDhDK5u4z3Cr1Mzpjt6NWTJj4MMAVXlTH2rb6FC8e/rCk81rdZckI /TTa8doU/TWqvWtw5BL5rBtIHd/f5AtxDuXQMlH7iDcnIDpDYyAlzugrT9nX404k00cy Zw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3paq8yaerh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:36 +0000 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EAWoEb011300; Tue, 14 Mar 2023 12:12:36 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3paq8yaeqq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:35 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32E8uLJc006456; Tue, 14 Mar 2023 12:12:34 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3p8h96krsj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:33 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCVUl25363180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:31 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 781142007A; Tue, 14 Mar 2023 12:12:31 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0C8382007D; Tue, 14 Mar 2023 12:12:31 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 Mar 2023 12:12:30 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Dmitry Torokhov Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-input@vger.kernel.org Subject: [PATCH v3 13/38] Input: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:11:51 +0100 Message-Id: <20230314121216.413434-14-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230314121216.413434-1-schnelle@linux.ibm.com> References: <20230314121216.413434-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: yQAlx44sEPm9Fz6Gzh6ckX9YwOiZK3VY X-Proofpoint-ORIG-GUID: nlZfI-7xcWOZRlTxLqFLtPAU-8PxsvJX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-14_04,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=869 clxscore=1011 suspectscore=0 adultscore=0 priorityscore=1501 spamscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140103 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760345399136590596?= X-GMAIL-MSGID: =?utf-8?q?1760345399136590596?= In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/input/serio/Kconfig | 2 ++ drivers/input/touchscreen/Kconfig | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index f39b7b3f7942..5d125627c595 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig @@ -75,6 +75,7 @@ config SERIO_Q40KBD config SERIO_PARKBD tristate "Parallel port keyboard adapter" depends on PARPORT + depends on HAS_IOPORT help Say Y here if you built a simple parallel port adapter to attach an additional AT keyboard, XT keyboard or PS/2 mouse. @@ -148,6 +149,7 @@ config HIL_MLC config SERIO_PCIPS2 tristate "PCI PS/2 keyboard and PS/2 mouse controller" depends on PCI + depends on HAS_IOPORT help Say Y here if you have a Mobility Docking station with PS/2 keyboard and mice ports. diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 1a2049b336a6..6c268b8f0d19 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -690,6 +690,7 @@ config TOUCHSCREEN_INEXIO config TOUCHSCREEN_MK712 tristate "ICS MicroClock MK712 touchscreen" + depends on ISA help Say Y here if you have the ICS MicroClock MK712 touchscreen controller chip in your system.