]> err.no Git - linux-2.6/commitdiff
Input: wm97xx-core - report a phys for WM97xx touchscreens
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 May 2008 05:36:47 +0000 (01:36 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 May 2008 05:36:47 +0000 (01:36 -0400)
phys is displayed in diagnostic output like that from evbug so ensure
that it is set to something.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wm97xx-core.c

index e9c7ea46b6e30e1f1fc6b0881e16f8606245907a..ba6fb28ef58435ab8dfb51ff9599626190d9a231 100644 (file)
@@ -616,6 +616,7 @@ static int wm97xx_probe(struct device *dev)
 
        /* set up touch configuration */
        wm->input_dev->name = "wm97xx touchscreen";
+       wm->input_dev->phys = "wm97xx";
        wm->input_dev->open = wm97xx_ts_input_open;
        wm->input_dev->close = wm97xx_ts_input_close;
        set_bit(EV_ABS, wm->input_dev->evbit);