lkml.org 
[lkml]   [2010]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mmotm] timberdale: fix mfd build
> This?

Nope, still has the same error.
Use this one instead. It builds now.

---
From: Randy Dunlap <randy.dunlap@oracle.com>

Fix mfd/timberdale build error -- add depends GPIOLIB.

include/linux/spi/max7301.h:14: error: field 'chip' has incomplete type
build-r7353.out:make[3]: *** [drivers/mfd/timberdale.o] Error 1

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

--- mmotm-2010-0210-1617.orig/drivers/mfd/Kconfig
+++ mmotm-2010-0210-1617/drivers/mfd/Kconfig
@@ -382,7 +382,7 @@ config AB4500_CORE
config MFD_TIMBERDALE
tristate "Support for the Timberdale FPGA"
select MFD_CORE
- depends on PCI
+ depends on PCI && GPIOLIB
---help---
This is the core driver for the timberdale FPGA. This device is a
multifunction device which exposes numerous platform devices.

\
 
 \ /
  Last update: 2010-02-12 00:33    [W:0.103 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site