diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2010-05-24 14:33:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 08:07:06 -0700 |
commit | 92ba4fe4b53b4fa5ac71ec4d80572348fca85796 (patch) | |
tree | c18630d8aac05eacd7320bee91a40d101d72cf5c /include/linux/lis3lv02d.h | |
parent | 342c5f128140d54961c435d1702eadcaba97a37a (diff) | |
download | lwn-92ba4fe4b53b4fa5ac71ec4d80572348fca85796.tar.gz lwn-92ba4fe4b53b4fa5ac71ec4d80572348fca85796.zip |
lis3: add skeletons for interrupt handlers
Original lis3 driver didn't provide interrupt handler(s) for click or
threshold event handling. This patch adds threaded handlers for one or
two interrupt lines for 8 bit device. Actual content for interrupt
handling is provided in the separate patch.
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Tested-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/lis3lv02d.h')
-rw-r--r-- | include/linux/lis3lv02d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lis3lv02d.h b/include/linux/lis3lv02d.h index d6251995c042..fd289b1e1ec1 100644 --- a/include/linux/lis3lv02d.h +++ b/include/linux/lis3lv02d.h @@ -67,6 +67,7 @@ struct lis3lv02d_platform_data { /* Limits for selftest are specified in chip data sheet */ s16 st_min_limits[3]; /* min pass limit x, y, z */ s16 st_max_limits[3]; /* max pass limit x, y, z */ + int irq2; }; #endif /* __LIS3LV02D_H_ */ |