linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: bd71815: select CONFIG_ROHM_REGULATOR
@ 2021-04-21 13:54 Arnd Bergmann
  2021-04-21 14:53 ` Mark Brown
  2021-05-24 11:59 ` Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Arnd Bergmann @ 2021-04-21 13:54 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Lee Jones, Matti Vaittinen
  Cc: Arnd Bergmann, ChiYuan Huang, Bjorn Andersson, Christoph Fritz,
	Axel Lin, Vincent Whitchurch, Adam Ward, Krzysztof Kozlowski,
	linux-kernel

From: Arnd Bergmann <arnd@arndb.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@arndb.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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-24 12:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-21 13:54 [PATCH] regulator: bd71815: select CONFIG_ROHM_REGULATOR Arnd Bergmann
2021-04-21 14:53 ` Mark Brown
2021-04-21 15:16   ` Arnd Bergmann
2021-04-21 15:19     ` Mark Brown
2021-04-21 17:54   ` Matti Vaittinen
2021-05-24 11:59 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).