mfd: Hook WM831x into build system
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 27 Jul 2009 13:45:58 +0000 (14:45 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 17 Sep 2009 07:47:00 +0000 (09:47 +0200)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/Makefile

index 491ac0f800d2487b5c8b3d7646e732967a4dff72..0273456af77f418e59199972a2fdd1440e3ed5a7 100644 (file)
@@ -157,6 +157,16 @@ config MFD_WM8400
          the device, additional drivers must be enabled in order to use
          the functionality of the device.
 
+config MFD_WM831X
+       tristate "Support Wolfson Microelectronics WM831x PMICs"
+       select MFD_CORE
+       depends on I2C
+       help
+         Support for the Wolfson Microelecronics WM831x PMICs.  This
+         driver provides common support for accessing the device,
+         additional drivers must be enabled in order to use the
+         functionality of the device.
+
 config MFD_WM8350
        tristate
 
index 6f8a9a1af20b3f27151614261a39291e7712badb..285cb320e6a6919aa39b4e86927be7c612ecc866 100644 (file)
@@ -15,6 +15,8 @@ obj-$(CONFIG_MFD_TC6387XB)    += tc6387xb.o
 obj-$(CONFIG_MFD_TC6393XB)     += tc6393xb.o
 
 obj-$(CONFIG_MFD_WM8400)       += wm8400-core.o
+wm831x-objs                    := wm831x-core.o wm831x-irq.o wm831x-otp.o
+obj-$(CONFIG_MFD_WM831X)       += wm831x.o
 wm8350-objs                    := wm8350-core.o wm8350-regmap.o wm8350-gpio.o
 obj-$(CONFIG_MFD_WM8350)       += wm8350.o
 obj-$(CONFIG_MFD_WM8350_I2C)   += wm8350-i2c.o