[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100914152351.0ba53b5d.randy.dunlap@oracle.com>
Date: Tue, 14 Sep 2010 15:23:51 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Samuel Ortiz <sameo@...ux.intel.com>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] mfd: ab8500 depends on SPI_MASTER
From: Randy Dunlap <randy.dunlap@...cle.com>
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@...cle.com>
Cc: Samuel Ortiz <sameo@...ux.intel.com>
---
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists