Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp535101rwd; Tue, 16 May 2023 04:46:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4QUI6xEvnqpVD7Y+nSQNTQtAEQpduP6sCjM8XuVGKr1w/ReFApbFYgDQeXtudcuj3xwe31 X-Received: by 2002:a05:6a00:194b:b0:647:f128:c4f5 with SMTP id s11-20020a056a00194b00b00647f128c4f5mr29725464pfk.22.1684237604736; Tue, 16 May 2023 04:46:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684237604; cv=none; d=google.com; s=arc-20160816; b=q0k+ZE/vLj/76gXlZU5OrH9B2LFbqGqtxvG0ELaMMd51ZquTEAtNKitIPlqxf8mCeP 2xT+w6I6S+4FK8kt4IkCo0bifZ5UocZWymmclxEfNHsICF5LpGH3MxelyYZGK6Yq6MFc xSnaNmY2+nI4vRtwDSefTXLfZiAHM3JsKhB0yEm7rLs1GTrIapXhkuhyTInnuYbekBvb 9XfB9m77MfM392735wPPcko3BfwCztjIjpbKP3KFjTNHM72ExtgoNiVxV24CUn1QnopB XFsT8Ranem0iNlPyDF1qhor7+49zyGI9JQPRLHEcg3kzlVWVCcYLMBaKmHq41t6sh5PX UrTg== 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=MoZNjaDuQqRt+6C5tasqlxJH48nMhb6CGhd0EYJa0qE=; b=bwhEGAPN1JRXLtn3ugge+yFPsOu+XXY5+khURXgOOA8ygTphiUXNrmdtj3Y3xvc2Vg i1W1M3zrgcbqAFLwMUV8oCU7wIKQFv1PV1GeBUWnbSWD9BqraPjo2x6ufENquTAtP3+Y 7SLDlveuowPoFeeiSFOZrSPc33AN9nYBjqoKeB4T0D7Q7YExI8o6mOR1MUMc1HrsifWQ LEfK6l3MUCZ0XAnmwEqnD11aV4+yqZtqTDL9vMfyl1SoKa7B+zybsR19DNuXgm44T6KY Sa9fd3YLj6uwNQndbuaRjICYZ3KhwIDdGL9RyzYMy6SYYwq4/eDkSvkR9Aa5Cb5SoahQ 275A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kITYl2ht; 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 d78-20020a621d51000000b0064667c16883si19264660pfd.100.2023.05.16.04.46.28; Tue, 16 May 2023 04:46:44 -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=kITYl2ht; 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 S231853AbjEPLCq (ORCPT + 99 others); Tue, 16 May 2023 07:02:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbjEPLCG (ORCPT ); Tue, 16 May 2023 07:02:06 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE4BB658F; Tue, 16 May 2023 04:01:17 -0700 (PDT) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GAjNbm031248; Tue, 16 May 2023 11:01:02 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=MoZNjaDuQqRt+6C5tasqlxJH48nMhb6CGhd0EYJa0qE=; b=kITYl2htZ0RQo7qbl3rk9qQAm95mIiUzbXp/yYmFkLXk/+STgOPADGRWyguFj7N/xXDJ lLQgEFo4Sbq3aX6MuOfJDoO/KKAU0bfpzFCbOVQSMGFLP6mnKgtSEj99tgJLFLd9vHwE Vzm7t87AIzvOisYdI8o3AMSZOrJd2Ea8xHkN3SNqqL7c56NDAGake8oNoc0xlmNBPgxr IIZoWxikfsvq9YHnfW0EhGk79loCddk4WGSVhY3PmTOxkEgoHmG7ojxDLbA6IUKt46uB 1CEUvOtn7VpXxL9fs/Qrq2jTPjO5ad2MeRsB2zmRvMduczRc5vL8QhS/URVEdk7jMRhC /g== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8bn0e48-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:02 +0000 Received: from m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34GAlLKC006160; Tue, 16 May 2023 11:01:01 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8bn0e30-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:01 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34G7b9Xv031123; Tue, 16 May 2023 11:00:59 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma06ams.nl.ibm.com (PPS) with ESMTPS id 3qj1tdsjr9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:59 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34GB0shh59048194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:00:54 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 85DDB2004B; Tue, 16 May 2023 11:00:51 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2306320043; Tue, 16 May 2023 11:00:51 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 16 May 2023 11:00:51 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Pavel Machek , Lee Jones 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-leds@vger.kernel.org Subject: [PATCH v4 15/41] leds: add HAS_IOPORT dependencies Date: Tue, 16 May 2023 13:00:11 +0200 Message-Id: <20230516110038.2413224-16-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516110038.2413224-1-schnelle@linux.ibm.com> References: <20230516110038.2413224-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: peEYTSQRrNVqUQqiNCMINyIXry4_pRUn X-Proofpoint-ORIG-GUID: yQ6UEFaIk4pzCS3fRekSopWF3zqFhwRL 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-16_04,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=839 impostorscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 malwarescore=0 clxscore=1011 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160089 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. Acked-by: Pavel Machek Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so per-subsystem patches may be applied independently 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. -- 2.39.2