Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1843705iob; Fri, 29 Apr 2022 14:19:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3hIeimAybISN6goMMIfNbduffgrHwE2rbKGK9FyL9YmsFXBfnzAVAuoFJ8irXak92iGX2 X-Received: by 2002:a05:6512:31c4:b0:471:9f60:d7f3 with SMTP id j4-20020a05651231c400b004719f60d7f3mr830651lfe.141.1651267152751; Fri, 29 Apr 2022 14:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651267152; cv=none; d=google.com; s=arc-20160816; b=rSaifDN0i5AEyhv5a95ifhZH5uMUswDTmXVeDN4pSTAmtC/Id+HIV4RCWprqfphQPA pweu7ilLSuZpOYeAHjpre8fav+yb/nm3M3svMopgfJkA6ytTG7HWnuQsAXxyyw6X3eei /TcXMQyRPbeJ850LhhmfxmkydglW6noMKMCgCezOlxT1yoMloXt15Ufx95Es8LT0gmRU E1gHHraXe/TF9jFwx9+Xik/6a36p7HfhR1xKDjZkC5mJmXD8xj7NZ2CzVnXiCX2aS6KO 2C+J/A1f5JcpyksLSyMWUvBmnFscLp3oYMzN7+eUc1qTs+YH7Kw8yjBN7bPAjkR2q8qy qw4Q== 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=flRwf6YFSjDmygm1dNz782hAvHsHqrkXlBOSl6z14JI=; b=d/6mawScT4DX1KePlCe8Vt2Iazok1sbwyF42qcXgYTlbske85k+s2tzaWQjusnPlH/ rBVaTVpLEVI51DS4NjObOa8bJ+vzir0ZnvObMthpW8Q9tVR3EDkuhlzmh8x9ZSKlpF0U sP0SMrY82R8BSKdi7WXBAd8OfvSh5Dr7f/G5ax9oZectCJ7dArLszYUuAfFcgQ1hcDSB 9hTjogq5Xy3zVJlKZOYRNxhFV3MjH+YPpjjcKHNmygHa4wk8ZSsvdp2rMnVQaRe4p0pn W4xN0sj0BjO4SDXy53jKhEV18WP/MivPzU/rJi8CF1shppFS/Cmlk3VrQePjCUTB94m7 ksAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=cP2G8eza; 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=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 z10-20020a2e7e0a000000b0024da1efe982si7836012ljc.209.2022.04.29.14.18.43; Fri, 29 Apr 2022 14:19:12 -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=cP2G8eza; 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=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355608AbiD2N4f (ORCPT + 99 others); Fri, 29 Apr 2022 09:56:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376597AbiD2Nzu (ORCPT ); Fri, 29 Apr 2022 09:55:50 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9084E5A2EC; Fri, 29 Apr 2022 06:51:39 -0700 (PDT) Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TBasB5028096; Fri, 29 Apr 2022 13:51:30 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=flRwf6YFSjDmygm1dNz782hAvHsHqrkXlBOSl6z14JI=; b=cP2G8ezaF9JnZi2BPH+RxKUQ2zrcE2xz2/dc1u1swCkztGt+bVvQtkYWkZfhNQoOhENm 00KTYxiqF6BInsIT3Qtk7IzY0L9qjgm9fCruRaI+hhPA9PKr4RwH15NJOxpolA9XJRDX aiMeMeQh7yRQriQhIGUfVZ62M1xZzulLqQwuDpHdZNdcxo7tYketBz+EHM+UPHRdVrwB g9MLqPhmdVXU5uI9lx/HWKOwl156OXK79bdG0U93BAOXqlNsHUv/5S0VJ2DQprcpoR8g GGaOwb4JMQc6zlk0G4K5CboxKTFvTFHkJgQz8vl51bcmE+rRBogg9UKyFg53ONLQHqR5 kA== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqtdnd88e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:30 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDRq7b011857; Fri, 29 Apr 2022 13:51:28 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma06fra.de.ibm.com with ESMTP id 3fm8qhqavu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:27 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDcHvW50201086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:38:17 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8928F4C044; Fri, 29 Apr 2022 13:51:25 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 38D374C040; Fri, 29 Apr 2022 13:51:25 +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:25 +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 , Pavel Machek , linux-leds@vger.kernel.org (open list:LED SUBSYSTEM) Subject: [RFC v2 16/39] leds: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:26 +0200 Message-Id: <20220429135108.2781579-29-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-GUID: JcQFFBgj8yK3QXr2AgpBZZ_hGVswoufQ X-Proofpoint-ORIG-GUID: JcQFFBgj8yK3QXr2AgpBZZ_hGVswoufQ 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 spamscore=0 priorityscore=1501 mlxscore=0 bulkscore=0 phishscore=0 suspectscore=0 mlxlogscore=643 clxscore=1011 impostorscore=0 malwarescore=0 adultscore=0 lowpriorityscore=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/leds/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 6090e647daee..d05b7b035b13 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -681,7 +681,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.32.0