From patchwork Tue Mar 14 12:11:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69566 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1721413wrd; Tue, 14 Mar 2023 05:17:17 -0700 (PDT) X-Google-Smtp-Source: AK7set9rbFiC7lmboN/kum0+vXwHLt/w5g6nxvlBP0hI3cB35L/1l+EsWmRIjXGFXVmZTUpbDhXJ X-Received: by 2002:a17:902:d50f:b0:19c:d6fe:39c7 with SMTP id b15-20020a170902d50f00b0019cd6fe39c7mr44847433plg.41.1678796237201; Tue, 14 Mar 2023 05:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796237; cv=none; d=google.com; s=arc-20160816; b=h/3ePzO2d8NPfxdDGtkrSpYxU/HkRxUxBlJMMdZ2fFRNXgRoDrbSeC5GuUVuNtqPsZ H2p/0OhVAIAwGJB9syBwYmsRizid4d5R6i6jlIca/DgPhgZ1XTYprfP6kJcxS/XmiC7J mLEc10TjTGNglVQUwDI0kp7ZTb0bI7RyQ+0+SGQ9UIT+Dqx1IXB4dgqbYYT5da3R1SDy Nf6+eJ5ZFxs4Cz9JGkfiP5W9WEGQUTwuVC+YPGJjKRD/XCbkQL5uKwj3JhgPR2s+LQtv ORaZ1HsTEA8N/vgF4TYISWNSl4sdl7xK41CqTsYfHfNkH1CyvpsY/M94jyNRw8ay6lQ3 6i9A== 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=PfD4c4PH+3TJqACOJC/3Xq+/Vg5zTqCDtNpSTLItBiw=; b=j3jDF/el9fJKtAOMCULM5ogUwyD/Fk0aZJp9o9R6H0dfpFKK3FiPbPca4Obcl4NvUv rWTWTeTt6Qgj2+Kj588o/FejSu9OuxCwT8fa5WCRB43rq4UyeEIggIqitJjxqZaMiTlF q1aJF6g9otEHJ1qJAjjm+jxjVBwUDxeC3NJ5KMOaIV9x2f50wzNANsAQgs2RkRv5S2g5 zx0CgONMnwckarKtlvENY1Gg2vBAGFO9pquYxDnbg8VPnGLWeJy5TzyJso4eHVAZXspp EImbDDfshKz5tHlenJWKmtQLxPDr1s7h0MOgkMyiI6/I13MDKYoiK2T5v1GDWo/VrDib HuBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=MPBWVVr8; 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 b1-20020a170902ed0100b0019cb93128b4si2174400pld.455.2023.03.14.05.17.00; Tue, 14 Mar 2023 05:17:17 -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=MPBWVVr8; 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 S232054AbjCNMPc (ORCPT + 99 others); Tue, 14 Mar 2023 08:15:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbjCNMOO (ORCPT ); Tue, 14 Mar 2023 08:14:14 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6906C59FD; Tue, 14 Mar 2023 05:13:13 -0700 (PDT) Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EAaLGQ006993; Tue, 14 Mar 2023 12:12:39 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=PfD4c4PH+3TJqACOJC/3Xq+/Vg5zTqCDtNpSTLItBiw=; b=MPBWVVr8r1GGVnw/vbZXPrN8B9a3POHYs+f0hejEK4xiuvz5jsDptWzeOe2oHgKAtSCD qhQHhsehsphe8WgybJ3AA/rIKpkVZ3+9gx7rwn6FP5QtA0O0n3MKFxS6C+ZkrUP9qHvy vx4V+Im0sFuJ89bTvh6pLDd/XK22En4f2gy1Hv0rg9tPNpfs5NQrDhfQlxzN8IbEVw9p 2CSYC0s+ZNq6NL9WeIn1SVtoEc8zZ4VELX68uc3kZhgz9h+YboLPGLOilU6flaw6mT7v rBN7pIgm1JmBfs3og0hCcsjFnT3XY/aOi5z14IYPCa5TnBMlhp8S5sU3gsiy4PMeX1WT 5g== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3papkwkk5r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:39 +0000 Received: from m0098404.ppops.net (m0098404.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EC8AuG010624; Tue, 14 Mar 2023 12:12:38 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3papkwkk4t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:38 +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 32E8ibsS006605; Tue, 14 Mar 2023 12:12:35 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3p8h96krsk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:35 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCXWH30737014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:33 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 284502007A; Tue, 14 Mar 2023 12:12:33 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A22EE2007C; Tue, 14 Mar 2023 12:12:32 +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:32 +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 v3 15/38] leds: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:11:53 +0100 Message-Id: <20230314121216.413434-16-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: 0RB3YBuUVZzui5n7_sVaDswk8SZsinOl X-Proofpoint-ORIG-GUID: S5XuEkeQhlIeR5u6F0A975Ay9p09ti__ 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_06,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=774 suspectscore=0 priorityscore=1501 bulkscore=0 phishscore=0 clxscore=1011 spamscore=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,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?1760345442914022930?= X-GMAIL-MSGID: =?utf-8?q?1760345442914022930?= 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: Niklas Schnelle --- drivers/leds/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 9dbce09eabac..55b4a4de8f1a 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -662,7 +662,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.