From patchwork Tue Mar 14 12:11:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1721693wrd; Tue, 14 Mar 2023 05:17:50 -0700 (PDT) X-Google-Smtp-Source: AK7set866ZRqrb94vjdb9eKz7CZQAFRe41EnaJBr3bb11ZWCDSuvnU+LAJBp5no4yWjISrAMmXyl X-Received: by 2002:a05:6a20:6909:b0:d5:2f2a:ead4 with SMTP id q9-20020a056a20690900b000d52f2aead4mr4054486pzj.47.1678796270611; Tue, 14 Mar 2023 05:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796270; cv=none; d=google.com; s=arc-20160816; b=TtilW6nWOTsvUemb7h9fPUijueyyek7hXGUSkrQYZyrnMXV+8vdliKnsfJOTY5uHB5 KF/a+sfqRhxJQx8Ntno4/7q7gKqJ5zKS3c16PJnexCyJzsVPIhFJo8EB3A9ZgZ8Tg58z DOx3zuEqlVWHlEbtmfhukyFVIATBGVrQpVZ1QiUaCDeYmsmdjJDfdoS582JBZGGZMuFP KQ2U4OcmtbC3Kos/Ooti8NbDTArdbWSoXyYjk9bzXxDA3I3YTMXiPoyTLVv2BZ6fs2gk JEPV04sp3vbMEjz1KEfIQJS1B2LyWX10DvbrpBP5AZtEwEIfZ6CpxP3tMsnZoOr9MbBF FfJQ== 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=PRQD49KFjaxwXN+kSEDaYzrjl2czSCBAq7mMgzRtK8k=; b=MKLUXhri0dgftsfa9s7EMr1zHIUVpJODLHPuwG3rPEDzEIScQeI7Ks6EgH986x5AwN Y1QzUI0qHY67Dm95/I04AVpwHLbE3hX18kOjgvS9jujFwwOObbSbf+n3lxqhhTBk9TLQ WX/+AENzL6LaORvlT9DdvnnrPw6n8q8hVf9f+5NBl+OgTbkSMMjRWNGrRXP42unkUlqq Ty069/mrCQmAe1ONu84nBONbzkjgGJ3h9C7Cbbl3ziDR6RJ/R7rU72bYImiRg6k13Egb NhdKTWP0xQgaVpvLYQCtG/DowLKdx9vRbnWDyEDO+QxEX6z5+LWzeEm/GfAGU9cOhHIW K1Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=C08AkDcx; 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 l125-20020a632583000000b004e30cc4a2f5si2082445pgl.507.2023.03.14.05.17.34; Tue, 14 Mar 2023 05:17:50 -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=C08AkDcx; 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 S231904AbjCNMPq (ORCPT + 99 others); Tue, 14 Mar 2023 08:15:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231861AbjCNMOl (ORCPT ); Tue, 14 Mar 2023 08:14:41 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0000060400; Tue, 14 Mar 2023 05:13:21 -0700 (PDT) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EAl89D030644; Tue, 14 Mar 2023 12:12:36 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=PRQD49KFjaxwXN+kSEDaYzrjl2czSCBAq7mMgzRtK8k=; b=C08AkDcxa/EZPgXr+fC21tC+gjBSrf/Z+VQ1bQ51U8Uikcuv7c2TA175cJIrzQGRsyck bph0ui6XDvs6ZcsvG9ypvQwqcwHY9ipEOPdGeiBtPBOWZosgUdVHZ8vCZHBDUDUdOKfT uMfF47jORQR4kttRErt7yO80tnrKBINSJnXvsifrsk+KDVtiKpDwY38m48dhB7QUg5tD xWnbEtR5mVQVMIZHyH57SLAk6GE5NCr9llVpNE4oBoInO2YrvCaszknE7XLeZkULCDrp rNUYujsqGSIPeaXtVOW5Cu/23C+asEl5dF29ONpUHjsF/JAXrPpBJuF0DQuA/2KnsZ+H FA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paqftj551-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:36 +0000 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EBHInM026076; Tue, 14 Mar 2023 12:12:35 GMT Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paqftj53s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:35 +0000 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32E8wsv9016335; Tue, 14 Mar 2023 12:12:33 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma05fra.de.ibm.com (PPS) with ESMTPS id 3p8h96kscj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:33 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCUVe26608138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:30 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D33C2007F; Tue, 14 Mar 2023 12:12:30 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1DD702007C; Tue, 14 Mar 2023 12:12:30 +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:30 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Jonathan Cameron , Lars-Peter Clausen 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, Jonathan Cameron , Arnd Bergmann , linux-iio@vger.kernel.org Subject: [PATCH v3 12/38] iio: ad7606: Kconfig: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:11:50 +0100 Message-Id: <20230314121216.413434-13-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-ORIG-GUID: w0b3qAZ9PUIcLL8mFiAdc-KlG46IEsFw X-Proofpoint-GUID: Xa9Y3bErBlM_6c6JeWYaqpXkHLGLuR5C 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_04,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=792 spamscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 adultscore=0 impostorscore=0 priorityscore=1501 clxscore=1011 phishscore=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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760345477747494354?= X-GMAIL-MSGID: =?utf-8?q?1760345477747494354?= 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: Jonathan Cameron Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/iio/adc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 45af2302be53..df4c7d80d765 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -145,7 +145,7 @@ config AD7606 config AD7606_IFACE_PARALLEL tristate "Analog Devices AD7606 ADC driver with parallel interface support" - depends on HAS_IOMEM + depends on HAS_IOPORT select AD7606 help Say yes here to build parallel interface support for Analog Devices: