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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:52 +0000 (13:32 +0100)
[ Upstream commit 85842c46fd47fa6bd78681c154223bed27d5fd19 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/Kconfig

index 8b93856de432aeede26b670ec190ea45260569b0..9940e2724c05da9c6ab4e1f012a5090cdb2a78c6 100644 (file)
@@ -2027,6 +2027,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