Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1908068iob; Fri, 29 Apr 2022 16:06:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbqyZisbohOFo332/GbwAKcGTiCO+qicqxD/yYKQlaKQNPOcLV9u6hg0goUXfFIF5ZYhy7 X-Received: by 2002:a17:903:31d1:b0:159:804:e852 with SMTP id v17-20020a17090331d100b001590804e852mr1327693ple.19.1651273583319; Fri, 29 Apr 2022 16:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651273583; cv=none; d=google.com; s=arc-20160816; b=jCX+KFq4/iXi3vgoCWdCGj/3gm/waOQkqGcFsOKFOmUNIcX7jcVbI5LrmzHzOm0fdY JNEQhahIofuT74+bf0rP2BLsYJPSWZRqmxHhLtKXPhLGQ1avM7lQ/+Zxj8WT4Of9PBjn Mgb6AHeE3pDlgA27fx8bJbTkOfaCSPqpGSwGQk4gfeFN1nHQ/VyV1pYse9QSFbbsDCDp zjIC+eGdECEArDkHJkWg7hw9n0JBJr/staGuxDTtuGy8GtKGEaOnW2MLKf2Y8Bc+SrNI NtWgV/Y7jFzX+OB8YDfeYKJ7qeOXoDozEp3HNFVhirkJ1RESDyBQAIaFobrZa4TPzaN6 caLA== 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=ysIE5/mPGjC1gKbHUVU7cMXFrDybo5iDqb1jAtcA8Iw=; b=C+406OGGEmgRwhsNIspja5NZpgWxOOepFvRcT+/oZkJiUHyFk98w91mlDMLJPDFhSh hgG4zBX+uglFVlQuDtUJj7sDFQFWgX6yR/pZs6dkIx2wvQcAIPoXASsqxDL98/7fXA96 Q+K562KZbE6m+K9up8epRkkvwH6+8NYvDMuY0ZLe7kjQfd1uGju/JzNO6jr2DnxI6IcL CTzm9LYoRG6wZ+SLioHMbX3i/5p5bHHPmwgx7na3ZrIHFmcEUMETHe2YeBRbLvSWMPkr eiR3FMzawjBwPUIVGRSK2NBWmKQieE6Wpni7W5GCIDDVlJXqI+Ept9f5fH/mOT4MsqIc +czg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ibm.com header.s=pp1 header.b="IwFoNo/U"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a63e314000000b003ab8129839asi9093848pgh.325.2022.04.29.16.06.05; Fri, 29 Apr 2022 16:06:23 -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=fail header.i=@ibm.com header.s=pp1 header.b="IwFoNo/U"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376705AbiD2N4S (ORCPT + 99 others); Fri, 29 Apr 2022 09:56:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376509AbiD2NzQ (ORCPT ); Fri, 29 Apr 2022 09:55:16 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 764335D657; Fri, 29 Apr 2022 06:51:33 -0700 (PDT) Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TCP5kt010685; Fri, 29 Apr 2022 13:51:29 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=ysIE5/mPGjC1gKbHUVU7cMXFrDybo5iDqb1jAtcA8Iw=; b=IwFoNo/UTzJYOJAYuhmEch/w3TQtijh3KoUVZeGAGLExl3Gvp5RcfIAp/MhiUQaaXrUM 15+puqJ41UgO+DX2KtkRXkJV9UM07hkvmVFN8WEl8GaOlfjjICXE+TStSlCOA2Yh4Cec BYiao8IUziQ1niXmQOjqt8jLAxYL7H6Nb6HJdDE2U/EwoU/5dExj7g+MaZtPlaisTwu2 lAFpYcI2IVz5Ec3Yiw+NaUEfknDFrwtqI42SwVgFQ8S8m8Tp7HzhKNTMt2kZyTutOLQ9 ULV69+QymnjH/uye699+eWgfj7PhMsg17tdKZQg5N3aB6NrJTRJnVAK7DI+J5cEDDrgv Ww== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqvaq273g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:29 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 23TDKm5g031409; Fri, 29 Apr 2022 13:51:28 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqvaq272r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:28 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDRL1q021679; Fri, 29 Apr 2022 13:51:26 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma03ams.nl.ibm.com with ESMTP id 3fm93917r0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:26 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpWnU26935800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:32 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0EDEF4C044; Fri, 29 Apr 2022 13:51:24 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BD9404C040; Fri, 29 Apr 2022 13:51:23 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 13:51:23 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Dmitry Torokhov , linux-input@vger.kernel.org (open list:INPUT (KEYBOARD, MOUSE, JOYSTICK , TOUCHSCREEN)...) Subject: [RFC v2 14/39] Input: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:23 +0200 Message-Id: <20220429135108.2781579-26-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220429135108.2781579-1-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: mCV6duCPf-BtA9BH-YYHZE78TFe0517b X-Proofpoint-GUID: GL1DkzsXzDyTg3VLuon3VOPe2Ws4dNfg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_06,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 phishscore=0 spamscore=0 mlxlogscore=698 clxscore=1015 impostorscore=0 priorityscore=1501 suspectscore=0 mlxscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290078 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 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 43c7d6e5bdc0..a938629d8894 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -674,6 +674,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. -- 2.32.0