aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-05 11:53:45 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-16 14:49:56 -0400
commitd2fc60d6925574eeeadd037aa0f1378e07189a1a (patch)
treede827376da3dbe609c263fd8d4fc49378a237784
parent923104747d5c4d58762aa865f71d48d3beb73ae6 (diff)
HWMON: hdaps - set up phys and bus type of input device
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/hwmon/hdaps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c
index bab5fd2e4dfd..ea4fc6577593 100644
--- a/drivers/hwmon/hdaps.c
+++ b/drivers/hwmon/hdaps.c
@@ -573,6 +573,8 @@ static int __init hdaps_init(void)
573 /* initialize the input class */ 573 /* initialize the input class */
574 idev = hdaps_idev->input; 574 idev = hdaps_idev->input;
575 idev->name = "hdaps"; 575 idev->name = "hdaps";
576 idev->phys = "isa1600/input0";
577 idev->id.bustype = BUS_ISA;
576 idev->dev.parent = &pdev->dev; 578 idev->dev.parent = &pdev->dev;
577 idev->evbit[0] = BIT_MASK(EV_ABS); 579 idev->evbit[0] = BIT_MASK(EV_ABS);
578 input_set_abs_params(idev, ABS_X, 580 input_set_abs_params(idev, ABS_X,