From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Fix build errors in ab8500-spi.c. It uses spi_* functions, so it should depend on SPI_MASTER. ab8500-spi.c:(.text+0x4900a): undefined reference to `spi_sync' ab8500-spi.c:(.text+0x490b0): undefined reference to `spi_sync' ab8500-spi.c:(.init.text+0x30c5): undefined reference to `spi_register_driver' Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20100914.orig/drivers/mfd/Kconfig +++ linux-next-20100914/drivers/mfd/Kconfig @@ -475,7 +475,7 @@ config EZX_PCAP config AB8500_CORE bool "ST-Ericsson AB8500 Mixed Signal Power Management chip" - depends on GENERIC_HARDIRQS && ABX500_CORE + depends on GENERIC_HARDIRQS && ABX500_CORE && SPI_MASTER select MFD_CORE help Select this option to enable access to AB8500 power management -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html