diff options
Diffstat (limited to 'arch/blackfin/mach-bf548/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 6 |
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> |
190 | static const struct adxl34x_platform_data adxl34x_info = { | 190 | static 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 */ |