Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4677753rwo; Tue, 25 Jul 2023 09:20:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlEKaCl4bhON7Zwg9OTn5aAxyA4EcMl3v/UGQjCniT1tcAQUHu6tSpVXS0NKuIHWoJq2z1c+ X-Received: by 2002:a05:6a00:1916:b0:67f:3dcd:bc00 with SMTP id y22-20020a056a00191600b0067f3dcdbc00mr13481576pfi.2.1690302004410; Tue, 25 Jul 2023 09:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690302004; cv=none; d=google.com; s=arc-20160816; b=HMPA7AaYatO58W6DK6TxvY5+9J7ySQJylGXKwx9TpK0kZnMWvCc69Tg8obDcpYwSc9 Ph2FNZbw7SJ/S2+EJq0T+5zSHm0tmL/r0q2APN96c4nKFlIEk4/XDUDZEgpZ3pKPKtea 8TcWG49Jj5hATzjyPUNcRgTJmh/kKeMxWj9GhU4EzYbGGWSPlAsw21/2hLyy9SsEdmWs elcrx8VmWuvq+XQztpa1wSX4/SvMfZ8Miy6DeGYf8ryS76az3E9DQiUwYjQ0nRwt+qvS A3oPBy9M5LSs+LO+foxqtYM0RLsO3sY7qnaRJ1dUhakbwllL4MBa0/hYV31KPDKxBbz/ jaPw== 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 :message-id:date:subject:cc:to:from; bh=lAX2rN8/wHvFOlyeb1c29AURJNbhkfDtqFJPuEx4aZc=; fh=QqvenbSYnuOR+LZzQf+PzyRYwSMxeCwqS3tov56QABU=; b=txSTCpHa1ewL79qJjqh3Qss+2TZDstvr+LnyeDNmPj+muFmAVsh2YGrDSOR+u3AZ0b k5b+yt1eI6NEWnc2B9Ne6n+xCPOpfa+8V8KaEijftUFZw6jTGSWxyYigs7ihsYJ5GRUB yb6IF8aOgRPbemFHNzdBXvjcLUX9yNnx6JbafH/pjCA91SsH2kBfZgyVTBgPHqJOom4h z4LGKEgXlWv7PB8zKYTRElzU8EHhPv3O+ThWviu1FuW/ofuJbUheLD7M8CL2SZQoRlrO VF4NiNsl1lO4HyWmMtKB30AQTmjltzir4UYP9cyBmAzJv2ReNtOept7qcVga4wQ2b9x5 4kVg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b005578994f212si11373938pgh.425.2023.07.25.09.19.50; Tue, 25 Jul 2023 09:20:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232003AbjGYPru (ORCPT + 99 others); Tue, 25 Jul 2023 11:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjGYPrs (ORCPT ); Tue, 25 Jul 2023 11:47:48 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BF861FE6 for ; Tue, 25 Jul 2023 08:47:46 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:2d50:2ea4:d4e1:2af3]) by baptiste.telenet-ops.be with bizsmtp id RTnl2A0042TBYXr01Tnlk7; Tue, 25 Jul 2023 17:47:45 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qOKG3-002Vi2-Tb; Tue, 25 Jul 2023 17:47:45 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qOKGH-009cXA-2O; Tue, 25 Jul 2023 17:47:45 +0200 From: Geert Uytterhoeven To: Liam Girdwood , Mark Brown , Konrad Dybcio Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] regulator: REGULATOR_QCOM_REFGEN should depend on ARCH_QCOM Date: Tue, 25 Jul 2023 17:47:43 +0200 Message-Id: <60938ed138c9331ba3d2891fbd3b3d6644d3fbdc.1690300012.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, 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 The Qualcomm MMIO-mapped reference voltage regulator is only present on Qualcomm SoCs. Hence add a dependency on ARCH_QCOM, to prevent asking the user about this driver when configuring a kernel without Qualcomm SoC support. Fixes: 7cbfbe23796086fd ("regulator: Introduce Qualcomm REFGEN regulator driver") Signed-off-by: Geert Uytterhoeven --- drivers/regulator/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 542a7b4279949700..94f44736473e0d2e 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -1001,6 +1001,7 @@ config REGULATOR_PWM config REGULATOR_QCOM_REFGEN tristate "Qualcomm REFGEN regulator driver" + depends on ARCH_QCOM || COMPILE_TEST depends on HAS_IOMEM depends on REGMAP help -- 2.34.1