[PATCH -next] staging: mrst touchscreen depends on SPI

From: Randy Dunlap
Date: Fri Sep 03 2010 - 21:02:45 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Moorestown touchscreen driver should depend on SPI.
Fixes these build errors:

intel-mid-touch.c:(.init.text+0xdd34): undefined reference to `spi_register_driver'
drivers/built-in.o:(.data+0x21778): undefined reference to `spi_bus_type'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: sreedhara.ds@xxxxxxxxx
---
drivers/staging/mrst-touchscreen/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100903.orig/drivers/staging/mrst-touchscreen/Kconfig
+++ linux-next-20100903/drivers/staging/mrst-touchscreen/Kconfig
@@ -1,6 +1,6 @@
config TOUCHSCREEN_INTEL_MID
tristate "Intel MID platform resistive touchscreen"
- depends on INTEL_SCU_IPC
+ depends on INTEL_SCU_IPC && SPI
default y
help
Say Y here if you have a Intel MID based touchscreen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/