提交 03c86ee1 编写于 作者: W Wolfram Sang 提交者: Dmitry Torokhov

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: NWolfram Sang <w.sang@pengutronix.de>
Acked-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 176eb8dc
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册