Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp542032rwd; Tue, 16 May 2023 04:53:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5w7VqoN7jbV5/oGIOr6ou4C8dKX/QoOpWXFgh5zBJcwL76w6cTDvG87iw0mT/m+w98vVTh X-Received: by 2002:a17:90a:4e8a:b0:24e:458a:9543 with SMTP id o10-20020a17090a4e8a00b0024e458a9543mr37905010pjh.32.1684238005756; Tue, 16 May 2023 04:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684238005; cv=none; d=google.com; s=arc-20160816; b=ogfBVjARBxUfQlekV1jhKRNuwsrSKfqQOWDAuRf7+RVL/xrG+n089hJajZoY2AY9OG DQ0ibdsAWlGhF2N4EYw4fAHU2M4EmN8rCB1VvSjX7ETylGptQ6/KBG6KbDn5ARhDRRUD nVMJGkBmfk5Se1eBN6hOeuMEHQz8OMAshjZQ/Bl5973IMBrdO/aFw/kgNn4Of3P0iQOJ rL5MyH7xxZOU0Rem7WoIKrlKDyfXbyXvsNC9mtEmejRfqyVrK/kUWtq/RS4lwTABuWDB YF3IAqFaTV0PYLTGmQEPliOB85ld5oOG6q6xHCKI/RWZ0qdSDyM/VwQZFPM9ZcmypsTB BJgQ== 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=tZLPeRpYaTSpKmgRSaxeN9laOviGaXjxeeFIM4dTNgo=; b=mUIzb8Vvxjppgcy/4SaCytVUSc64F6Hg0lWPrSKO+/bqrdoOf5GouUeJiduLBd67zH OJXrKd62sDJ7lIP+SUe7YyZt/xg5kFZYsvRooP0HmvcXkzrL2axReojI3skfO8pBuyOx pb1/CpiQ6SuoxiqBhzlBnfi14YnlvBdbDr+pSae5ZRtZKntMXr9QLlXFXfr9FlXZQm0y uBMgE616aiNEnYckr4+jTLVlhAUq6/iVQA9e9OY5TrpqhfR7+OkWKVhlxefI2E9whe0b g9kBs0Cx4e6MJ0MW7mWN+gnrXKCMigKXd/SicSRvf7wVJQ6L8eL3rKgLNJ+09jZHx1PK lMsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=axCyb0Fc; 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 mn23-20020a17090b189700b00250d2e5df8esi1578654pjb.45.2023.05.16.04.53.11; Tue, 16 May 2023 04:53:25 -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=axCyb0Fc; 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 S232594AbjEPLTk (ORCPT + 99 others); Tue, 16 May 2023 07:19:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232202AbjEPLTj (ORCPT ); Tue, 16 May 2023 07:19:39 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2856359D; Tue, 16 May 2023 04:19:27 -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 34GB46FG006607; Tue, 16 May 2023 11:06:54 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=tZLPeRpYaTSpKmgRSaxeN9laOviGaXjxeeFIM4dTNgo=; b=axCyb0FcBBYXKk8YFUDVxNucKPen7hFDgoj2up24K82SOM0scMXjtCvvt3gbj+d4K/8J OlslZ+3hp8ZVMXNvxwrXEwrhPhICxwHb4g8egIEWdgld/P8CL6HulewJ2xwcun5Yzbam xbmxDBWkrR5D3eblM1ua65rnFySkNXEzbCtjUTGVu1yuj36a6AXF0qje+NODWMgofwqE K6gvUpTphD54NARC4XZSp9aJRD5TBgExZoFviJNw2TjAIvWf3o/VBacJaSukbdqc2wOY avmH8Xl0Ij8nFaNDs56UzNvy0T9qA9eLPyLJiQKRuVPQjg4OYKOAt2fYHLERLAbWeLPA NQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8mrr7dw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:06:52 +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 34GB45PP006549; Tue, 16 May 2023 11:06:10 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 3qm8mrr71d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:06:10 +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 34G5ZvHF020457; Tue, 16 May 2023 11:01:06 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3qj264sakc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:01:06 +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 34GB13RJ38142602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:01:04 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBF3520040; Tue, 16 May 2023 11:01:03 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7223B2004D; Tue, 16 May 2023 11:01:03 +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:01:03 +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 v4 28/41] rtc: add HAS_IOPORT dependencies Date: Tue, 16 May 2023 13:00:24 +0200 Message-Id: <20230516110038.2413224-29-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-ORIG-GUID: nEi4Y-wUKr9RmL8vZI1Pk__GnVOWf7aD X-Proofpoint-GUID: LV_zb2hb93ctINcpSKhp3HywaYkQSRZp 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 malwarescore=0 spamscore=0 impostorscore=0 mlxscore=0 mlxlogscore=903 lowpriorityscore=0 suspectscore=0 adultscore=0 phishscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160094 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 --- Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so per-subsystem patches may be applied independently drivers/rtc/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 753872408615..9ae082b14c44 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 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