diff mbox series

mfd: bd957x: Fix Kconfig dependency

Message ID YZzI/gNDRdvdK0nv@fedora (mailing list archive)
State Mainlined
Commit 85842c46fd47fa6bd78681c154223bed27d5fd19
Delegated to: Geert Uytterhoeven
Headers show
Series mfd: bd957x: Fix Kconfig dependency | expand

Commit Message

Vaittinen, Matti Nov. 23, 2021, 10:57 a.m. UTC
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")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
---
 drivers/mfd/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 3fb480818599..47bacded4a51 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -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