Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2746684rwd; Mon, 22 May 2023 03:53:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7YVeG0pft5VK66TacrEWUb/DbY1y16rEPMflQnvE7rzabn1YHbwFgCZd/Xlq8l9gtaLbi+ X-Received: by 2002:a17:902:7287:b0:1a9:8ba4:d0d3 with SMTP id d7-20020a170902728700b001a98ba4d0d3mr9977089pll.8.1684752813465; Mon, 22 May 2023 03:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684752813; cv=none; d=google.com; s=arc-20160816; b=wSgysF3dhSNtyt6enoA/b9mg980pEadkXHlex4QYRLrFPU2td6E+cJSAcN4NNj3XSv Nttay/nGTQ4G9YpI5Bx3FOv6i2sLS3VxHiEshP1RlniHYAQPBimVAjkQSicr9tTkoJKm +ZekvykN60ehzMqgodyab7POo+qZodC2z1tZ4AjZirUlKy5nlKxB6Fh1OLh5D845H9Uz BD0wigh8crJp6c+3ZRdsys9crR7HaOIIfM02hURh9C+BUoVDaOotA0esUmgBsbisTC6G g82vZocaaQHQX6IuHeH7qbIThJ+6aYl9b3+RqqCh/gkL1mHWVWTy1z/AO01TOOi2zYPt EoIw== 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=/8MBIv+8RSnOzUMDoRF9rFSOjZEtp6h72dm6dvE2q4E=; b=HD79fbUPUv0NGjiLAJRTB5KjJ8HP0Xy0YCpotjVgsA/MpsHqwiF+toSG6WRdt+a8hk SvqZw9r0E9ZqaeFXmeptUm/xpwenPFmlOealnfSUXSSb1lpACeHjV4D6xNm9gHX62cHg MNpmppR4coTMrB5K8Zl42q43IZ9ZFIK+b0QXcwZphFitMNh576Sed6sKBERSrzetJT1V IWGEF6xAv2OBkosLw0dvjBBMsL5GcFHGZ1fJN4JlcBpb0PfyIOZ2ZPGEZ6Mjs4iA6a/O ckdP+i153Q1auYIrsfS1hDIIThdhoZsVvUgI5uD2/91U7t+6khTKa3+ydF+wuNm9KjHz gMLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=VumZu6hp; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a170902c11500b001aaed82c2afsi2906085pli.171.2023.05.22.03.53.18; Mon, 22 May 2023 03:53:33 -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=VumZu6hp; 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 S232968AbjEVKwA (ORCPT + 99 others); Mon, 22 May 2023 06:52:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232865AbjEVKvd (ORCPT ); Mon, 22 May 2023 06:51:33 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23278FA; Mon, 22 May 2023 03:51:18 -0700 (PDT) Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34M9Lpon027595; Mon, 22 May 2023 10:51:08 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=/8MBIv+8RSnOzUMDoRF9rFSOjZEtp6h72dm6dvE2q4E=; b=VumZu6hp9+bOskKQo019cYlzn476dr22TNfY8LXKl/7156Lc8hQLCzlC9qq7kdpO8W6H vwlAN1JRvq3jn3PS6p0I42XU2QdJXPWyCaQzzUfpcKO1dzZZWGBVeCitPtk9iR/M/JTX eY4utSlN7n/Bmcm57Tajk2KI3zExnJf8VgFpVHDycIuouxlbAh4kig+Cr5khUIW8C9dr VAOhMsKLku8byfENdtRxTKQDu9+Iv8dHo/Ij9D691S7EAA1NlwEXdcL1gwfpNgD2qQMT +0YDVNA9o3pRtwnT0wA96ybLWYf/5aZ7APx6At47magBdUGQDbafWUCSJLjnuqJ/b+nA +w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqd3tc952-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:08 +0000 Received: from m0353723.ppops.net (m0353723.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAoepQ011102; Mon, 22 May 2023 10:51:07 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 3qqd3tc943-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:07 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M2OGCS000537; Mon, 22 May 2023 10:51:04 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3qppcu8wet-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:04 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MAp24X20054736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:02 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 315662004D; Mon, 22 May 2023 10:51:02 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CFA492004B; Mon, 22 May 2023 10:51:01 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 May 2023 10:51:01 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Dmitry Torokhov Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?q?Uwe=20Kleine-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 v5 15/44] Input: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:20 +0200 Message-Id: <20230522105049.1467313-16-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: u5CSjdS-cObBnwBXbERFberHfC1PGX9d X-Proofpoint-GUID: _t7qR4dEK_zwGWy_CqkCIbiiMkNmaR6f X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-22_06,2023-05-22_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1015 mlxscore=0 bulkscore=0 spamscore=0 mlxlogscore=875 impostorscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220089 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, T_SCC_BODY_TEXT_LINE 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: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/input/serio/Kconfig | 1 + drivers/input/touchscreen/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index f39b7b3f7942..17edc1597446 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig @@ -148,6 +148,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 143ff43c67ae..c2cbd332af1d 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -700,6 +700,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.39.2