Input: adxl34x - default platform_data should not use defines from driver
authorWolfram Sang <w.sang@pengutronix.de>
Mon, 24 Dec 2012 17:50:13 +0000 (09:50 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 24 Dec 2012 17:52:46 +0000 (09:52 -0800)
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>
drivers/input/misc/adxl34x.c

index 6be8687de05669edf219e17e3ccf1ff828996f39..0735de3a6468f85cad2c08a1dc601d5a67a67a23 100644 (file)
@@ -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,
 };