aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamu Onkalo <[email protected]>2010-05-24 14:33:32 -0700
committerLinus Torvalds <[email protected]>2010-05-25 08:07:06 -0700
commit58e814227de9e8b5a4a50fb8018a770de9e974a0 (patch)
treeecd88204d4b8baa99e73780bf5b41fd36a3c9a3e
parent4762bbc1a3a1f22095278b74dd1b8cee04858641 (diff)
lis3: add missing constants for 8bit device
Definitions for click were missing. Signed-off-by: Samu Onkalo <[email protected]> Acked-by: Eric Piel <[email protected]> Tested-by: Daniel Mack <[email protected]> Cc: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--drivers/hwmon/lis3lv02d.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/hwmon/lis3lv02d.h b/drivers/hwmon/lis3lv02d.h
index e6a01f44709b..692e2442ce08 100644
--- a/drivers/hwmon/lis3lv02d.h
+++ b/drivers/hwmon/lis3lv02d.h
@@ -196,6 +196,16 @@ enum lis3lv02d_dd_src {
DD_SRC_IA = 0x40,
};
+enum lis3lv02d_click_src_8b {
+ CLICK_SINGLE_X = 0x01,
+ CLICK_DOUBLE_X = 0x02,
+ CLICK_SINGLE_Y = 0x04,
+ CLICK_DOUBLE_Y = 0x08,
+ CLICK_SINGLE_Z = 0x10,
+ CLICK_DOUBLE_Z = 0x20,
+ CLICK_IA = 0x40,
+};
+
struct axis_conversion {
s8 x;
s8 y;