aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi/ads7846.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-06-28 04:25:19 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-06-28 04:34:25 -0400
commit7804302b14032d357d889e4a23e463eb6a6c5136 (patch)
treec71800f52507e70691786347c96168724dcf6ea4 /include/linux/spi/ads7846.h
parentc8f2edc56acf0a55ede777c07314c9744bb723be (diff)
Input: ads7846 - allow specifying irq trigger type in platform data
On some platforms, for example with GPIO interrupts on mpc5121, it is not possible to configure falling edge interrupts. Specifying irq trigger type in platform data structure allows using ads7846 driver on such platforms. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/spi/ads7846.h')
-rw-r--r--include/linux/spi/ads7846.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h
index b4ae570d3c98..95d36bfb34bc 100644
--- a/include/linux/spi/ads7846.h
+++ b/include/linux/spi/ads7846.h
@@ -54,5 +54,6 @@ struct ads7846_platform_data {
54 void (*filter_cleanup)(void *filter_data); 54 void (*filter_cleanup)(void *filter_data);
55 void (*wait_for_sync)(void); 55 void (*wait_for_sync)(void);
56 bool wakeup; 56 bool wakeup;
57 unsigned long irq_flags;
57}; 58};
58 59