提交 b8d52e2b 编写于 作者: V Vipul Kumar Samar 提交者: Dmitry Torokhov

Input: stmpe-ts - initialize the phys field in input device

Signed-off-by: NVipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 2bd942f9
......@@ -319,6 +319,7 @@ static int __devinit stmpe_input_probe(struct platform_device *pdev)
return error;
idev->name = STMPE_TS_NAME;
idev->phys = STMPE_TS_NAME"/input0";
idev->id.bustype = BUS_I2C;
idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册