All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate
@ 2023-07-09 23:25 Ivan Babrou
  2023-07-10  0:15 ` Sebastian Reichel
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Babrou @ 2023-07-09 23:25 UTC (permalink / raw)
  To: devicetree
  Cc: kernel-team, Ivan Babrou, Lee Jones, Sebastian Reichel,
	Alexandre Belloni

Prior to commit c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
it was possible to build rk808 as a module and have CONFIG_MFD_CORE=m too.
After that the intermediary CONFIG_MFD_RK8XX was added as a boolean,
forcing mfd_core to be compiled in whenever rk808 was enabled,
even if it was still built as a module.

Signed-off-by: Ivan Babrou <ivan@cloudflare.com>
Fixes: c20e8c5b1203 ("mfd: rk808: Split into core and i2c")
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 6f5b259a6d6a..f6b519eaaa71 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1197,7 +1197,7 @@ config MFD_RC5T583
 	  different functionality of the device.
 
 config MFD_RK8XX
-	bool
+	tristate
 	select MFD_CORE
 
 config MFD_RK8XX_I2C
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-10 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-09 23:25 [PATCH] mfd: rk808: turn MFD_RK8XX into a tristate Ivan Babrou
2023-07-10  0:15 ` Sebastian Reichel
2023-07-10 16:26   ` Ivan Babrou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.