mfd: tps65912: Select MFD_CORE
authorDavid Rientjes <rientjes@google.com>
Wed, 17 Apr 2013 21:28:47 +0000 (14:28 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 16 May 2013 12:45:59 +0000 (14:45 +0200)
CONFIG_MFD_CORE must be selected for TPS65912 to properly buid.
Otherwise it results in a link error:

drivers/built-in.o: In function `tps65912_device_init':
(.text+0x587e4): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `tps65912_device_init':
(.text+0x5884c): undefined reference to `mfd_remove_devices'
drivers/built-in.o: In function `tps65912_device_exit':
(.text+0x58878): undefined reference to `mfd_remove_devices'

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

index d9aed1593e5d34855b488a89750da5ed68f1a0fe..5ea1f8ca86482a0dcbcf44fb9dd54abb3e016bd0 100644 (file)
@@ -818,6 +818,7 @@ config MFD_TPS65910
 config MFD_TPS65912
        bool "TI TPS65912 Power Management chip"
        depends on GPIOLIB
+       select MFD_CORE
        help
          If you say yes here you get support for the TPS65912 series of
          PM chips.