From patchwork Tue May 16 11:00:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 94640 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp344252vqo; Tue, 16 May 2023 04:16:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Y908ZwCr1vaebRWYaE/cO1Hdsdc2GHIz6oL/i9Sx3OavrZcGPRvcEFUh+iguBLzGPsRbO X-Received: by 2002:a17:902:e80c:b0:1ab:1dff:9540 with SMTP id u12-20020a170902e80c00b001ab1dff9540mr46886026plg.14.1684235815849; Tue, 16 May 2023 04:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684235815; cv=none; d=google.com; s=arc-20160816; b=Lv1P7grlySAHoAtql8YkWJL4vn3rK5If34UllRtM0IQN3nVwlGrL0TP+MlK4KJ3skf xjmT1oE1mZUJaqQkGxEkompnTaFCqkhgfRDAvqY59U9a/40sVPjFtSfnPaPEOVkxrFqP 5EvjDURej1oogTPffLx4vQco0egiGPooA8KtbJdCLMkeB3PBjJRifWb3L8UpqG0eKhW2 l0vMx/+DPOTjiecZwjjDxmNY7SouRijTba5Sn7FsE+XTRtkM7MEJ4Q9sNn0O0bxEvOCG jVtElQvvFMCXM/nFUXDYXiCz1ClmJLEuOyBFoGhuwgqZtMij3rtxaAvUhQU09FSulB8L 61fw== 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=9HE/4YvNjvn3n11UKEQMBF6FDVTCw6/NfLzl+rdo/d8=; b=wAYOs+ofYNsXop8FW1ua082DhzF5KIk6WhPLr9UnNhRwR4O/nTseg5AM8aSggzDNjc ToSA4W+s9Eoybgnl6EdvsUt/TjVCV/YUDTlvOz1LNaJAkdEkfcLHYJWACGH938juGBGL sEZROBasMwWBC2NyVs9Irn4Ij7HQKAUAVOYJM/kwZLqE3Q+tl9/ctbvm1zVFE3by+WtG dASWxfALn7oNv27rGTBCak8DVQ5AyJWSahGWkywCpcDKPZOT77MShxSX4pSVVy8NcxYJ xPktlXODtls6W8xwZHAzvRmW/LVAEAZ4pd2T+DMXGt4OJCMFuQJ86Li/U/EH7zjao9QH u9HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="FMn+WG/O"; 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 x12-20020a1709028ecc00b001a5298ca6d5si12637729plo.453.2023.05.16.04.16.38; Tue, 16 May 2023 04:16:55 -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="FMn+WG/O"; 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 S231816AbjEPLD7 (ORCPT + 99 others); Tue, 16 May 2023 07:03:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbjEPLCq (ORCPT ); Tue, 16 May 2023 07:02:46 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2984B72A3; Tue, 16 May 2023 04:01:33 -0700 (PDT) Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GAngoZ019997; Tue, 16 May 2023 11:00:58 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=9HE/4YvNjvn3n11UKEQMBF6FDVTCw6/NfLzl+rdo/d8=; b=FMn+WG/O0mN/zWlPMKTUsxzc/RxMkNQ0YuG1ARYXiw4p6OkQrK23cN1W31So8gD5eCus KVTF1ngvKRdQ8lLexyeafzC2DuTSE+tmIrPYczE2BuUEbcaPtPQ/Gee/8vrdNfJrfqqR /MAsjeRW4vVJEI24rup3R3EKmoopy9hnUKOyYoKzZAY+i7b+ha4prKnMCdEk637m9m18 3Qwp36I1v0/UJJtzoNROV1MRZoMQedhMc2/Pn1eyK8Hcs23zfP7ppTIB1nQ/QE9KrqIW JYfiPteHrnbhCs7IwKRGtsqQ/2YcxIJXXrjWylMigbiv5bH6caZfYEZsAkfjknN7PJ/Y Gw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm7kfsmpt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:57 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34GAdfGM012668; Tue, 16 May 2023 11:00:55 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm7kfsmm5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:55 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34G5XBP4004842; Tue, 16 May 2023 11:00:51 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3qj264sjvf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:51 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34GB0nfS35062224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:00:49 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2F38420043; Tue, 16 May 2023 11:00:49 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BCCB020040; Tue, 16 May 2023 11:00:48 +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:48 +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 v4 12/41] iio: ad7606: Kconfig: add HAS_IOPORT dependencies Date: Tue, 16 May 2023 13:00:08 +0200 Message-Id: <20230516110038.2413224-13-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 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: X4bDMA-S5dIhuKtlUy2U3n9l20S9Ckc9 X-Proofpoint-ORIG-GUID: m99xHNRoAiftuysoqe8bUxKmKCS0nHAJ 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 spamscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=901 impostorscore=0 mlxscore=0 phishscore=0 bulkscore=0 suspectscore=0 malwarescore=0 priorityscore=1501 clxscore=1011 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766049254774443249?= X-GMAIL-MSGID: =?utf-8?q?1766049254774443249?= 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: 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/iio/adc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index eb2b09ef5d5b..53098aca06ea 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: