Skip to content

Commit

Permalink
Input: stmpe-ts - initialize the phys field in input device
Browse files Browse the repository at this point in the history
Signed-off-by: Vipul Kumar Samar <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
Vipul Kumar Samar authored and dtor committed Nov 10, 2012
1 parent 2bd942f commit b8d52e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/touchscreen/stmpe-ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b8d52e2

Please sign in to comment.