Skip to contentSkip to conversation

V4L/DVB: timberdale: fix mfd build

git:v4l-dvb/master Patch from Randy Dunlap 1 participant 1 message Feb 18, 2010 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

From: Randy Dunlap <[email protected]>

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

Repairs

commit ff7a26e08a16bb31158d830dbf60db2ff47019ab

Author:     Richard R<C3><B6>jfors <[email protected]>
AuthorDate: Thu Feb 4 08:18:52 2010 -0300
Commit:     Mauro Carvalho Chehab <[email protected]>
CommitDate: Fri Feb 5 12:25:37 2010 -0200

V4L/DVB: mfd: Add support for the timberdale FPGA

 drivers/mfd/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commit;h=0cb788768e977cad2ca977702248d1cb029b85f6

drivers/mfd/Kconfig +1 -1
index eb22dee..413576a 100644
@@ -351,7 +351,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.