diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2010-05-24 17:33:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 11:07:06 -0400 |
commit | 92ba4fe4b53b4fa5ac71ec4d80572348fca85796 (patch) | |
tree | c18630d8aac05eacd7320bee91a40d101d72cf5c /include | |
parent | 342c5f128140d54961c435d1702eadcaba97a37a (diff) |
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')
-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 { | |||
67 | /* Limits for selftest are specified in chip data sheet */ | 67 | /* Limits for selftest are specified in chip data sheet */ |
68 | s16 st_min_limits[3]; /* min pass limit x, y, z */ | 68 | s16 st_min_limits[3]; /* min pass limit x, y, z */ |
69 | s16 st_max_limits[3]; /* max pass limit x, y, z */ | 69 | s16 st_max_limits[3]; /* max pass limit x, y, z */ |
70 | int irq2; | ||
70 | }; | 71 | }; |
71 | 72 | ||
72 | #endif /* __LIS3LV02D_H_ */ | 73 | #endif /* __LIS3LV02D_H_ */ |