lkml.org 
[lkml]   [2010]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] staging: mrst touchscreen depends on SPI
From: Randy Dunlap <randy.dunlap@oracle.com>

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@oracle.com>
Cc: sreedhara.ds@intel.com
---
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

\
 
 \ /
  Last update: 2010-09-04 03:05    [W:0.033 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site