]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
mfd: mc13xxx core should not be user visible
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 18 May 2012 11:01:19 +0000 (13:01 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:09 +0000 (17:27 +0200)
Since the core is not usable without one of the bus modules it should not
be presented in the UI but should instead be selected by the bus modules.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig

index b819eea1775ae250df3348da9734f65d09b9a0bc..094bf4eb4d86064b470b750d61682e5c0c9a8aba 100644 (file)
@@ -623,7 +623,7 @@ config MFD_MC13783
        tristate
 
 config MFD_MC13XXX
-       tristate "Support Freescale MC13783 and MC13892"
+       tristate
        depends on SPI_MASTER || I2C
        select MFD_CORE
        select MFD_MC13783
@@ -633,24 +633,22 @@ config MFD_MC13XXX
          additional drivers must be enabled in order to use the
          functionality of the device.
 
-if MFD_MC13XXX
-
 config MFD_MC13XXX_SPI
-       tristate "MC13xxx SPI interface" if SPI_MASTER
-       default SPI_MASTER
+       tristate "Freescale MC13783 and MC13892 SPI interface"
+       depends on SPI_MASTER
        select REGMAP_SPI
+       select MFD_MC13XXX
        help
          Select this if your MC13xxx is connected via an SPI bus.
 
 config MFD_MC13XXX_I2C
-       tristate "MC13xxx I2C interface" if I2C
-       default I2C
+       tristate "Freescale MC13892 I2C interface"
+       depends on I2C
        select REGMAP_I2C
+       select MFD_MC13XXX
        help
          Select this if your MC13xxx is connected via an I2C bus.
 
-endif
-
 config ABX500_CORE
        bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
        default y if ARCH_U300 || ARCH_U8500