From a299d86f676d31e3208bc99c9c6136789e83d332 Mon Sep 17 00:00:00 2001 From: Samu Onkalo Date: Mon, 14 Dec 2009 18:01:35 -0800 Subject: [PATCH] --- yaml --- r: 176403 b: refs/heads/master c: e40d6eaa79bc9d9d347c3c51fe0c9204e9025b79 h: refs/heads/master i: 176401: 08e4a354faf132959996a0e15dcabec2188925c9 176399: 12fb8e5d40112fdc35ded03af4fada189da8513b v: v3 --- [refs] | 2 +- trunk/include/linux/lis3lv02d.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6ce1b809e641..7835f1faf048 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ddcaccbc17d7d15d0f050519cfeb0e45acbd9b15 +refs/heads/master: e40d6eaa79bc9d9d347c3c51fe0c9204e9025b79 diff --git a/trunk/include/linux/lis3lv02d.h b/trunk/include/linux/lis3lv02d.h index 3cc2f2c53e4c..89701355c74f 100644 --- a/trunk/include/linux/lis3lv02d.h +++ b/trunk/include/linux/lis3lv02d.h @@ -43,6 +43,18 @@ struct lis3lv02d_platform_data { #define LIS3_WAKEUP_Z_HI (1 << 5) unsigned char wakeup_flags; unsigned char wakeup_thresh; +#define LIS3_NO_MAP 0 +#define LIS3_DEV_X 1 +#define LIS3_DEV_Y 2 +#define LIS3_DEV_Z 3 +#define LIS3_INV_DEV_X -1 +#define LIS3_INV_DEV_Y -2 +#define LIS3_INV_DEV_Z -3 + s8 axis_x; + s8 axis_y; + s8 axis_z; + int (*setup_resources)(void); + int (*release_resources)(void); }; #endif /* __LIS3LV02D_H_ */