summary refs log tree commit diff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-07-27 15:24:27 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-27 15:24:27 +0200
commitc481c048b4ec558aab85137014a720f9ef2b5b9a (patch)
tree5447e2eca1f35bcd70cb21b1f90203c7f056d4dd /drivers/mfd
parent78948c17a47cc56cb10667f59036b6a703147161 (diff)
downloadlinux-c481c048b4ec558aab85137014a720f9ef2b5b9a.tar.gz
mfd: Arizone core should select MFD_CORE
Otherwise, with:

CONFIG_MFD_ARIZONA=y
CONFIG_MFD_ARIZONA_I2C=m
CONFIG_MFD_CORE=m

We get:

drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x3ab0): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x3fdc): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x3fff): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `arizona_dev_init':
(.devinit.text+0x4059): undefined reference to `mfd_remove_devices'
drivers/built-in.o: In function `arizona_dev_exit':
(.devexit.text+0x9): undefined reference to `mfd_remove_devices'

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index ff3b77dabf77..938829520f92 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -524,6 +524,7 @@ config MFD_SEC_CORE
 config MFD_ARIZONA
 	select REGMAP
 	select REGMAP_IRQ
+	select MFD_CORE
 	bool
 
 config MFD_ARIZONA_I2C