mfd: bd957x: Fix Kconfig dependency on REGMAP_IRQ
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 16 Nov 2022 08:19:21 +0000 (10:19 +0200)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:28:15 +0000 (13:28 +0000)
The BD957x driver uses REGMAP_IRQ but does not 'select' to depend on
it. This can cause build failures.  Select REGMAP_IRQ for BD957X.

Fixes: 0e9692607f94 ("mfd: bd9576: Add IRQ support")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/Y3SdCWkRr1L64SWK@dc75zzyyyyyyyyyyyyydt-3.rev.dnainternet.fi
drivers/mfd/Kconfig

index 6653d03e0fe31745d0587e1edbe8b3d4913b55ea..d6f1b0d3d82935749a291aadaa2127d30f6643b8 100644 (file)
@@ -2017,6 +2017,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