summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-11-24 10:48:56 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2009-12-13 19:21:51 +0100
commit01253503822868faa48973f680a921985388352b (patch)
treed6d1ed219f000ca887ace5200f6f7139ef3c740f
parent6e40173de9aec91f8de84beabbc51061c086b744 (diff)
downloadlinux-3.10-01253503822868faa48973f680a921985388352b.tar.gz
linux-3.10-01253503822868faa48973f680a921985388352b.tar.bz2
linux-3.10-01253503822868faa48973f680a921985388352b.zip
mfd: Force I2C to be built in when building WM831x
This works around issues with allmodconfig where it won't propagate the dependency from the WM831x core back to the I2C and MFD cores. When doing allmodconfig this causes WM831x to be omitted and ensures that in normal builds the dependencies get shaken out. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/mfd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 4502bcb9138..b23343cdc19 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -197,7 +197,7 @@ config MFD_WM8400
config MFD_WM831X
bool "Support Wolfson Microelectronics WM831x/2x PMICs"
select MFD_CORE
- depends on I2C
+ depends on I2C=y
help
Support for the Wolfson Microelecronics WM831x and WM832x PMICs.
This driver provides common support for accessing the device,