]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Input: stmpe-ts - initialize the phys field in input device
authorVipul Kumar Samar <vipulkumar.samar@st.com>
Sat, 10 Nov 2012 08:08:20 +0000 (00:08 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Nov 2012 08:31:03 +0000 (00:31 -0800)
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/stmpe-ts.c

index 7d9aadcef154b054f1c607daae245605fd7f8640..b3f75032deac51f1e821822c1b570cd6e974a20c 100644 (file)
@@ -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);