]> err.no Git - linux-2.6/commitdiff
[PATCH] ads7846: sparc32 warning fix
authorAndrew Morton <akpm@osdl.org>
Sun, 26 Mar 2006 09:37:33 +0000 (01:37 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 26 Mar 2006 16:56:57 +0000 (08:56 -0800)
drivers/input/touchscreen/ads7846.c: In function `ads7846_read12_ser':
drivers/input/touchscreen/ads7846.c:207: warning: implicit declaration of function `disable_irq'
drivers/input/touchscreen/ads7846.c:209: 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>
drivers/input/touchscreen/ads7846.c

index a81f987978c8712a826fabb15f398e963876fe8e..46d1fec2cfd8952fca752f6e9fe4eb9af496daa0 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/slab.h>
 #include <linux/spi/spi.h>
 #include <linux/spi/ads7846.h>
-#include <linux/interrupt.h>
+#include <asm/irq.h>
 
 #ifdef CONFIG_ARM
 #include <asm/mach-types.h>