aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf548
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-10-16 08:35:20 -0400
committerMike Frysinger <vapier@gentoo.org>2009-12-15 00:16:18 -0500
commit57af8edf3f0346aa0f942f245acbfe122bb75707 (patch)
tree550fc3225de142609abeb33cd2a71e16d7133d2d /arch/blackfin/mach-bf548
parent31ad0e27ed71c30cd328b503ce6163392b4dd9e2 (diff)
Blackfin: bf537-stamp/bf548-ezkit: update ADXL34x resources
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r--arch/blackfin/mach-bf548/boards/ezkit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 0d65cfaf0f6d..93595cf35e67 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -186,7 +186,7 @@ static struct platform_device bfin_rotary_device = {
186#endif 186#endif
187 187
188#if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) 188#if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE)
189#include <linux/spi/adxl34x.h> 189#include <linux/input/adxl34x.h>
190static const struct adxl34x_platform_data adxl34x_info = { 190static const struct adxl34x_platform_data adxl34x_info = {
191 .x_axis_offset = 0, 191 .x_axis_offset = 0,
192 .y_axis_offset = 0, 192 .y_axis_offset = 0,
@@ -210,9 +210,7 @@ static const struct adxl34x_platform_data adxl34x_info = {
210 .ev_code_y = ABS_Y, /* EV_REL */ 210 .ev_code_y = ABS_Y, /* EV_REL */
211 .ev_code_z = ABS_Z, /* EV_REL */ 211 .ev_code_z = ABS_Z, /* EV_REL */
212 212
213 .ev_code_tap_x = BTN_TOUCH, /* EV_KEY */ 213 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */
214 .ev_code_tap_y = BTN_TOUCH, /* EV_KEY */
215 .ev_code_tap_z = BTN_TOUCH, /* EV_KEY */
216 214
217/* .ev_code_ff = KEY_F,*/ /* EV_KEY */ 215/* .ev_code_ff = KEY_F,*/ /* EV_KEY */
218/* .ev_code_act_inactivity = KEY_A,*/ /* EV_KEY */ 216/* .ev_code_act_inactivity = KEY_A,*/ /* EV_KEY */