Skip to contentSkip to conversation

mfd: bd957x: Fix Kconfig dependency

PATCH Superseded Matti Vaittinen 1 participant 1 message Nov 23, 2021 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: bd957x: Fix Kconfig dependency

The bd957x driver uses regmap-IRQ but does not SELECT ot depend on it. This can cause build failure.

SELECT the regmap-IRQ for BD957X from Kconfig.

Fixes 0e9692607f94 ("mfd: bd9576: Add IRQ support")
---
 drivers/mfd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mfd/Kconfig +1 -0
index 3fb480818599..47bacded4a51 100644
@@ -1983,6 +1983,7 @@ config MFD_ROHM_BD957XMUF
 	depends on I2C=y
 	depends on OF
 	select REGMAP_I2C
+	select REGMAP_IRQ
 	select MFD_CORE
 	help
 	  Select this option to get support for the ROHM BD9576MUF and
Signature · 14 lines
2.31.1


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =]