]> err.no Git - linux-2.6/commitdiff
HWMON: hdaps - set up phys and bus type of input device
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 May 2008 15:53:45 +0000 (11:53 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 16 May 2008 18:49:56 +0000 (14:49 -0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/hwmon/hdaps.c

index bab5fd2e4dfdafd4442fa13bdd90f3a3f2022d39..ea4fc65775931580c00c4f258867116aeba847e2 100644 (file)
@@ -573,6 +573,8 @@ static int __init hdaps_init(void)
        /* initialize the input class */
        idev = hdaps_idev->input;
        idev->name = "hdaps";
+       idev->phys = "isa1600/input0";
+       idev->id.bustype = BUS_ISA;
        idev->dev.parent = &pdev->dev;
        idev->evbit[0] = BIT_MASK(EV_ABS);
        input_set_abs_params(idev, ABS_X,