summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2010-06-28 12:25:19 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-06-28 12:34:25 +0400
commit7804302b14032d357d889e4a23e463eb6a6c5136 (patch)
treec71800f52507e70691786347c96168724dcf6ea4 /include/linux/spi
parentc8f2edc56acf0a55ede777c07314c9744bb723be (diff)
downloadlinux-7804302b14032d357d889e4a23e463eb6a6c5136.tar.xz
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')
-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 {
void (*filter_cleanup)(void *filter_data);
void (*wait_for_sync)(void);
bool wakeup;
+ unsigned long irq_flags;
};