From: Andrew Morton drivers/input/touchscreen/ads7846.c: In function `ads7846_read12_ser': drivers/input/touchscreen/ads7846.c:197: warning: implicit declaration of function `disable_irq' drivers/input/touchscreen/ads7846.c:199: warning: implicit declaration of function `enable_irq' drivers/input/touchscreen/ads7846.c: At top level: drivers/input/touchscreen/ads7846.c:339: parse error before `ads7846_irq' drivers/input/touchscreen/ads7846.c:340: warning: return-type defaults to `int' drivers/input/touchscreen/ads7846.c: In function `ads7846_irq': drivers/input/touchscreen/ads7846.c:342: `IRQ_HANDLED' undeclared (first use in this function) drivers/input/touchscreen/ads7846.c:342: (Each undeclared identifier is reported only once drivers/input/touchscreen/ads7846.c:342: for each function it appears in.) drivers/input/touchscreen/ads7846.c:343: warning: control reaches end of non-void function drivers/input/touchscreen/ads7846.c: In function `ads7846_probe': drivers/input/touchscreen/ads7846.c:512: warning: implicit declaration of function `request_irq' drivers/input/touchscreen/ads7846.c: In function `ads7846_remove': drivers/input/touchscreen/ads7846.c:548: warning: implicit declaration of function `free_irq' Cc: David Brownell Signed-off-by: Andrew Morton --- drivers/input/touchscreen/ads7846.c | 1 + 1 files changed, 1 insertion(+) diff -puN drivers/input/touchscreen/ads7846.c~ads7846-driver-spi-framework-fix drivers/input/touchscreen/ads7846.c --- devel/drivers/input/touchscreen/ads7846.c~ads7846-driver-spi-framework-fix 2005-11-28 00:35:57.000000000 -0800 +++ devel-akpm/drivers/input/touchscreen/ads7846.c 2005-11-28 00:36:09.000000000 -0800 @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include _