Thread (7 messages) 7 messages, 5 authors, 2011-06-27

[PATCH -next] mfd: tps65912 needs MFD_CORE

From: Randy Dunlap <hidden>
Date: 2011-06-22 17:08:56
Also in: lkml

From: Randy Dunlap <redacted>

MFD_TPS65912 should select MFD_CORE so that mfd interfaces are
available to it.  This fixes a build error when MFD_CORE=m and
MFD_TPS65912=y (and no other TPS65912 kconfig symbols are enabled,
so no other select MFD_CORE was done).

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

Signed-off-by: Randy Dunlap <redacted>
---
 drivers/mfd/Kconfig |    1 +
 1 file changed, 1 insertion(+)
--- linux-next-20110622.orig/drivers/mfd/Kconfig
+++ linux-next-20110622/drivers/mfd/Kconfig
@@ -173,6 +173,7 @@ config MFD_TPS6586X
 
 config MFD_TPS65912
 	bool "TPS65912 PMIC"
+	select MFD_CORE
 	depends on GPIOLIB
 
 config MFD_TPS65912_I2C
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help