Bläddra i källkod

[PATCH] ads7846 build fix

sparc32:

drivers/input/touchscreen/ads7846.c: In function `ads7846_read12_ser':
drivers/input/touchscreen/ads7846.c:206: warning: implicit declaration of function `disable_irq'
drivers/input/touchscreen/ads7846.c:208: warning: implicit declaration of function `enable_irq'

Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Andrew Morton 19 år sedan
förälder
incheckning
4cae59d2e8
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      drivers/input/touchscreen/ads7846.c

+ 1 - 0
drivers/input/touchscreen/ads7846.c

@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/slab.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/ads7846.h>
 #include <linux/spi/ads7846.h>
+#include <linux/interrupt.h>
 
 
 #ifdef	CONFIG_ARM
 #ifdef	CONFIG_ARM
 #include <asm/mach-types.h>
 #include <asm/mach-types.h>