From patchwork Mon May 22 10:50:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 97261 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1353753vqo; Mon, 22 May 2023 03:53:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ffzcqqJPyyzujC92k7vuay5jIQ24QRP0tIeiE66zeeBJiBA6O9bJdJnWgTCNrE7pDYiJB X-Received: by 2002:a05:6a21:6d95:b0:10b:fe06:97dd with SMTP id wl21-20020a056a216d9500b0010bfe0697ddmr1191992pzb.54.1684752826579; Mon, 22 May 2023 03:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684752826; cv=none; d=google.com; s=arc-20160816; b=Rzje3ZSKNkj7wrZZgW4nTQOr+WZtCdNmXivXEMQLx1oC0MjQexKM2jzJqABrtf1/sp sI5cPbPkNS6NHEKO1wzA/VUNKqYZX13mrw8eaeZsEKitgYC1MTyrnTvilsvN0ZI3T+sS NDgPczoaYV7f/WUnUNt98JU+2Zlcj0uHjYDjyX/Yr+ffZLeizMH06jXrtz2/D293mKeS udy8FDu07EiBQDfIscWaR71VkS0fNbgc5057+Bv7Kx3PPRj2zT1XznvHGEReAHjDcpAm RtxnSwAqAJLb0qvVxDID498Ic6X9dQ/UfyjRKYIVhNnruS7dzsp/e1hBpOp7o8aif+UZ xjAA== 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=johbE40XqSHUAOrj12by5TCMX9zCA/W+s5M07e40jQY=; b=aJm+zI0ZDDm9LzB+WGYFoZNsCTsrwJlGyMX9U+r3SlVvjVU3TlBFGAcHWTo99gSufS tUDsJiWpM2T2d3P8fouo2V18TuMDP2hR4N/m3STPfR3exEWJtRZdDr32J/SCQkCsHLWR zX/d6JLplMNuCFM6lQhkWX3xyg2aXWU6MDbfJ0p+zKMj+fcGgEMZRUlzV59zizFIotlr zRWU39ivETrdcdvyb2gLOWn78PEEKEs0/VmmW/YpTYyQRD0BkLWZr5cEtsU48yAenO48 cPUAE7A0o3BkQtbkJWk/89HlbhTJR6npu7oR7iE3IZZrOyWjm/tawm4cGPrKuSn+H8dk XDPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=e1LybSwU; 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 h16-20020a633850000000b005308fb9619asi3004635pgn.54.2023.05.22.03.53.30; Mon, 22 May 2023 03:53:46 -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=e1LybSwU; 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 S231751AbjEVKwW (ORCPT + 99 others); Mon, 22 May 2023 06:52:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231873AbjEVKvq (ORCPT ); Mon, 22 May 2023 06:51:46 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFA34137; Mon, 22 May 2023 03:51:23 -0700 (PDT) Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34M9mUD4032270; Mon, 22 May 2023 10:51:10 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=johbE40XqSHUAOrj12by5TCMX9zCA/W+s5M07e40jQY=; b=e1LybSwU7NEOfhFzEK1YaPZw6dEoZi9pU8mDARbEbk7hM79r7q2T+zQNshhqbGr2Fzty TlSMQ8UDOdRHYnaeJhSD31f1hmHuOZ+3QLBrj5Igmeffh47cPAQ2C4qSER6waRGdGyYI VOqyPCUoOHdpik1SXySMqeykQMNTnppvxwnAuOfyKrnAZT2kWEPHj2YpgzdNOgt+PEw3 TYVnS0Crl8nCFaMod++ilpeLxwmhET4g7JjHRxr/AxoK2gc+NAnQqfm/v86PjQQGts+2 kAm+z6vYvgpG7uFnFqsfEcQsQMbUEctKfjjVOzRGqZUuGr5mpLVTwFY0niV2wRBDt6Ey YQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqfq39qth-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:09 +0000 Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAm941030301; Mon, 22 May 2023 10:51:08 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqfq39qst-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:08 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M4CeEJ026245; Mon, 22 May 2023 10:51:06 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma04ams.nl.ibm.com (PPS) with ESMTPS id 3qppdk0w97-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:06 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MAp3dW8782540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:04 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DB14320043; Mon, 22 May 2023 10:51:03 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 64FF120040; Mon, 22 May 2023 10:51:03 +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:03 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Pavel Machek , Lee Jones 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-leds@vger.kernel.org Subject: [PATCH v5 17/44] leds: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:22 +0200 Message-Id: <20230522105049.1467313-18-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 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 665_KEuqf91La7AQLb2657Hfz0w6eQDn X-Proofpoint-GUID: 8YbAzfsDD8WEqAgv8X_WHLt1AW0qzF4j 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 mlxlogscore=786 priorityscore=1501 adultscore=0 lowpriorityscore=0 mlxscore=0 spamscore=0 suspectscore=0 malwarescore=0 impostorscore=0 clxscore=1015 bulkscore=0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766591379791792593?= X-GMAIL-MSGID: =?utf-8?q?1766591379791792593?= 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. Acked-by: Pavel Machek Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/leds/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 2c5fdf848210..6573a4473fe5 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -676,7 +676,7 @@ config LEDS_LM355x config LEDS_OT200 tristate "LED support for the Bachmann OT200" - depends on LEDS_CLASS && HAS_IOMEM && (X86_32 || COMPILE_TEST) + depends on LEDS_CLASS && HAS_IOPORT && (X86_32 || COMPILE_TEST) help This option enables support for the LEDs on the Bachmann OT200. Say Y to enable LEDs on the Bachmann OT200.