diff options
| author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 03:08:20 -0500 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-11-10 03:31:03 -0500 |
| commit | b8d52e2b9f7eb43075e6ef4e23f5e51e70548f11 (patch) | |
| tree | 7c30f36ecb7f6165d8ba808e30606a05c62558dc /drivers/input | |
| parent | 2bd942f90a6021d5d9f49c28663f38f5b575a818 (diff) | |
Input: stmpe-ts - initialize the phys field in input device
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
| -rw-r--r-- | drivers/input/touchscreen/stmpe-ts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 7d9aadcef15..b3f75032dea 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c | |||
| @@ -319,6 +319,7 @@ static int __devinit stmpe_input_probe(struct platform_device *pdev) | |||
| 319 | return error; | 319 | return error; |
| 320 | 320 | ||
| 321 | idev->name = STMPE_TS_NAME; | 321 | idev->name = STMPE_TS_NAME; |
| 322 | idev->phys = STMPE_TS_NAME"/input0"; | ||
| 322 | idev->id.bustype = BUS_I2C; | 323 | idev->id.bustype = BUS_I2C; |
| 323 | idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); | 324 | idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); |
| 324 | idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); | 325 | idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); |
