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

From: Randy Dunlap <[email-masked]>
Date: Fri, 3 Sep 2010 18:01:56 -0700

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
Cc: [email-masked]
---
 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