[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210421135433.3505561-1-arnd@kernel.org>
Date:   Wed, 21 Apr 2021 15:54:27 +0200
From:   Arnd Bergmann <arnd@...nel.org>
To:     Liam Girdwood <lgirdwood@...il.com>,
        Mark Brown <broonie@...nel.org>,
        Lee Jones <lee.jones@...aro.org>,
        Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Cc:     Arnd Bergmann <arnd@...db.de>,
        ChiYuan Huang <cy_huang@...htek.com>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Christoph Fritz <chf.fritz@...glemail.com>,
        Axel Lin <axel.lin@...ics.com>,
        Vincent Whitchurch <vincent.whitchurch@...s.com>,
        Adam Ward <Adam.Ward.opensource@...semi.com>,
        Krzysztof Kozlowski <krzk@...nel.org>,
        linux-kernel@...r.kernel.org
Subject: [PATCH] regulator: bd71815: select CONFIG_ROHM_REGULATOR
From: Arnd Bergmann <arnd@...db.de>
The newly added driver is missing a dependency as shown by this
randconfig build failure:
arm-linux-gnueabi-ld: drivers/regulator/bd71815-regulator.o: in function `buck12_set_hw_dvs_levels':
bd71815-regulator.c:(.text+0x4b6): undefined reference to `rohm_regulator_set_dvs_levels'
Fixes: 1aad39001e85 ("regulator: Support ROHM BD71815 regulators")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 9d84d9245490..9aeb32c320aa 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -207,6 +207,7 @@ config REGULATOR_BD70528
 config REGULATOR_BD71815
 	tristate "ROHM BD71815 Power Regulator"
 	depends on MFD_ROHM_BD71828
+	select REGULATOR_ROHM
 	help
 	  This driver supports voltage regulators on ROHM BD71815 PMIC.
 	  This will enable support for the software controllable buck
-- 
2.29.2
Powered by blists - more mailing lists