diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2012-12-24 21:50:13 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-12-24 21:52:46 +0400 |
commit | 03c86ee1548a6ffecc65cf83b0a2d2774fed2f1d (patch) | |
tree | 70d72ace9558ac49f82a7349848e9e14b43fc1e0 | |
parent | 176eb8dc91bd91e7b1beb1761ee29f016e8c09e8 (diff) | |
download | linux-03c86ee1548a6ffecc65cf83b0a2d2774fed2f1d.tar.xz |
Input: adxl34x - default platform_data should not use defines from driver
Only use the defines which are defined in the platform_data include
file.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | drivers/input/misc/adxl34x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c index 6be8687de056..0735de3a6468 100644 --- a/drivers/input/misc/adxl34x.c +++ b/drivers/input/misc/adxl34x.c @@ -232,7 +232,7 @@ static const struct adxl34x_platform_data adxl34x_default_init = { .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY {x,y,z} */ .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, - .fifo_mode = FIFO_STREAM, + .fifo_mode = ADXL_FIFO_STREAM, .watermark = 0, }; |