Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2760611rwd; Mon, 22 May 2023 04:06:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7o2Onb2RAD6z6buk9UR1Xanfj1uOuXuwOIFVn1w2Qox7cXwMv9X/VnDsxrzpj64m7IlhYH X-Received: by 2002:a05:6a21:8dc8:b0:f4:fd7:db9f with SMTP id ti8-20020a056a218dc800b000f40fd7db9fmr7966532pzb.17.1684753567350; Mon, 22 May 2023 04:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684753567; cv=none; d=google.com; s=arc-20160816; b=Y9sBEuRVldHkzqUlBzbRi0gUO0p7232PHTTnv2IlLujVHSFEDgHnS7D8FnFocs3HIY rvy+3LKCL4AMPi2JTkYWeDMQeZfzcGnpM8VIpq2rot/8jTIeK66pFPwmWauPds2VQWZk ajO1aj0BZGzazZOCAEqfaU+Mzwgv9r/947N7SolU/SPp0eKMQD2CtCsca+h2AggrdBcg ToW6TxWjmdWbiRg6bHmTafFxp3YVn6ZcNDDGKftUXpGwo1CLJyaXQVdHhQ5DAu9puRzn bQNfq36cwZpV8mQosLVEXv0FO5dLOejTEJvsCrqAAuPW9E5+5/EbuPJPfc2hHxD+ykxv S1pQ== 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=lZBL4kOttDo6OcG66doNlqIQcqB5P0FhRz/+1vMlQuY=; b=z9izuRn2Px+n3j9EG/F0DgKjfNHtt+D4aVLqrxzLI2BYBxwDOBs3bWOAyp8C4ePw6T Xp8yNi52HRWXcFirGIVnJzoxmnThFrgDphzPXc9rUPFzCc5Wj8jBx2fVU36o/zGQin0i vChPlZ7v5ewfWk0jlh+Glnqy/xLa1flxvtGydcGenCXuMM8wXURMtGfrXWfSiSV5qnVt 6ywI/IMvMx0vtCgu4QItz5U8MjtuyMU86ScS7fkbyG9m2jYon4aIOPYifAi6iCqy7axI X7nTOOlEcj7KNeoQsppTBGJjL1rYnr/VNs7aQeVQ9FaE81+HsbxkiowpvlGOCJWE9SyC hzAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=gHWyLlkH; 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 o25-20020aa79799000000b0064cc2c0c815si4563476pfp.396.2023.05.22.04.05.54; Mon, 22 May 2023 04:06:07 -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=gHWyLlkH; 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 S232966AbjEVKzm (ORCPT + 99 others); Mon, 22 May 2023 06:55:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232964AbjEVKxU (ORCPT ); Mon, 22 May 2023 06:53:20 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F315C6; Mon, 22 May 2023 03:51:48 -0700 (PDT) Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34M9qMHi014961; Mon, 22 May 2023 10:51:23 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=lZBL4kOttDo6OcG66doNlqIQcqB5P0FhRz/+1vMlQuY=; b=gHWyLlkHtb6/KkcLOk0kiDO3YAiF5owTVVnO4xbgW8rRjAczWz9y0j/jYNIP4E0sVdng 43vYZNsFOMWSisgqiyCBIUiWyAwHoRdt27RAUUH2kbKRb32exfT8JUm59icd5IG4+JMQ 7MlTrQ43639VIuXdUIzejmdYd9UojMe9bQImwx2OVYmkE8mVQrtwF1fyolOzLHfu6zAW iRfJ0Jl1QB50k7eTlHAduOmWsLMqJlioBsS3X+Re1MjAr8sMquDPRv/kgi4Sgv/avG8f QMKtWBtQ5F9MP6MGeqRBy9De1qj6/hNiW9JblElKJAoJz7wO9Mvx+ZNGnOSnjWBtTju9 Qg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqgk8s35k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:23 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAbZ1o023711; Mon, 22 May 2023 10:51:22 GMT Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qqgk8s34c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:22 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M4jAdp004151; Mon, 22 May 2023 10:51:19 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3qppc10ru2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:19 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MApGc121693072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:16 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 462B12004D; Mon, 22 May 2023 10:51:16 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D7C2C20040; Mon, 22 May 2023 10:51:15 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 May 2023 10:51:15 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Alessandro Zummo , Alexandre Belloni 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-rtc@vger.kernel.org Subject: [PATCH v5 30/44] rtc: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:35 +0200 Message-Id: <20230522105049.1467313-31-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: GiA6URbS7rsQKqoZnW--h5JDhkw52A6k X-Proofpoint-ORIG-GUID: 9ylNKlDFRWujZ3NFph7DBqTz0Gp8JCtc 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-22_06,2023-05-22_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=843 spamscore=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 clxscore=1011 priorityscore=1501 adultscore=0 impostorscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220089 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. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/rtc/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 753872408615..a38a919b3f15 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -956,6 +956,7 @@ comment "Platform RTC drivers" config RTC_DRV_CMOS tristate "PC-style 'CMOS'" depends on X86 || ARM || PPC || MIPS || SPARC64 + depends on HAS_IOPORT || MACH_DECSTATION default y if X86 select RTC_MC146818_LIB help @@ -976,6 +977,7 @@ config RTC_DRV_CMOS config RTC_DRV_ALPHA bool "Alpha PC-style CMOS" depends on ALPHA + depends on HAS_IOPORT select RTC_MC146818_LIB default y help @@ -1193,7 +1195,7 @@ config RTC_DRV_MSM6242 config RTC_DRV_BQ4802 tristate "TI BQ4802" - depends on HAS_IOMEM + depends on HAS_IOMEM && HAS_IOPORT help If you say Y here you will get support for the TI BQ4802 RTC chip. -- 2.39.2