[PATCH] mfd: rk808: turn MFD_RK8XX into a tristate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux