lkml.org 
[lkml]   [2009]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] mfd: fix mc13783 build error
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix build errors due to missing Kconfig dependency:

mc13783-core.c:(.text+0x11bbaf): undefined reference to `spi_sync'
mc13783-core.c:(.init.text+0xb6b3): undefined reference to `spi_register_driver'
mc13783-core.c:(.devinit.text+0x1fd8b): undefined reference to `spi_setup'
drivers/built-in.o:(.data+0x157c0): undefined reference to `spi_bus_type'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20090818.orig/drivers/mfd/Kconfig
+++ linux-next-20090818/drivers/mfd/Kconfig
@@ -240,6 +240,7 @@ config MFD_PCF50633

config MFD_MC13783
tristate "Support Freescale MC13783"
+ depends on SPI_MASTER
select MFD_CORE
help
Support for the Freescale (Atlas) MC13783 PMIC and audio CODEC.


---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/

\
 
 \ /
  Last update: 2009-08-19 00:29    [W:0.059 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site