diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2012-12-24 17:50:13 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-12-24 17:52:46 (GMT) |
commit | 03c86ee1548a6ffecc65cf83b0a2d2774fed2f1d (patch) | |
tree | 70d72ace9558ac49f82a7349848e9e14b43fc1e0 /drivers/input/misc/adxl34x.c | |
parent | 176eb8dc91bd91e7b1beb1761ee29f016e8c09e8 (diff) | |
download | linux-fsl-qoriq-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>
Diffstat (limited to 'drivers/input/misc/adxl34x.c')
-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 6be8687..0735de3 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, }; |