diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-27 09:24:27 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-27 09:24:27 -0400 |
commit | c481c048b4ec558aab85137014a720f9ef2b5b9a (patch) | |
tree | 5447e2eca1f35bcd70cb21b1f90203c7f056d4dd /drivers/mfd | |
parent | 78948c17a47cc56cb10667f59036b6a703147161 (diff) |
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/Kconfig | 1 |
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 | |||
524 | config MFD_ARIZONA | 524 | config MFD_ARIZONA |
525 | select REGMAP | 525 | select REGMAP |
526 | select REGMAP_IRQ | 526 | select REGMAP_IRQ |
527 | select MFD_CORE | ||
527 | bool | 528 | bool |
528 | 529 | ||
529 | config MFD_ARIZONA_I2C | 530 | config MFD_ARIZONA_I2C |