| From 1d9336982a4533461dfc12a5b9fee5c288c8fce0 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Wed, 16 Nov 2022 10:19:21 +0200 |
| Subject: mfd: bd957x: Fix Kconfig dependency on REGMAP_IRQ |
| |
| From: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> |
| |
| [ 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 | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig |
| index 8b93856de432..9940e2724c05 100644 |
| --- a/drivers/mfd/Kconfig |
| +++ b/drivers/mfd/Kconfig |
| @@ -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 |
| -- |
| 2.35.1 |
| |