mfd: Don't allow WM8350 to be built modular
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Jan 2010 20:40:47 +0000 (20:40 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 7 Mar 2010 21:16:58 +0000 (22:16 +0100)
The genirq implementation does not allow modules to implement irq_chips
so the conversion of WM8350 to genirq means we can no longer allow the
driver to be built as a module.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig

index b670d10d5c92f8d751a39abe6472f8827080df55..d957373d77e43dc064865dd96aa0877ca4c677c7 100644 (file)
@@ -205,7 +205,7 @@ config MFD_WM831X
          functionality of the device.
 
 config MFD_WM8350
-       tristate
+       bool
 
 config MFD_WM8350_CONFIG_MODE_0
        bool
@@ -256,9 +256,9 @@ config MFD_WM8352_CONFIG_MODE_3
        depends on MFD_WM8350
 
 config MFD_WM8350_I2C
-       tristate "Support Wolfson Microelectronics WM8350 with I2C"
+       bool "Support Wolfson Microelectronics WM8350 with I2C"
        select MFD_WM8350
-       depends on I2C
+       depends on I2C=y
        help
          The WM8350 is an integrated audio and power management
          subsystem with watchdog and RTC functionality for embedded