summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/hdaps.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-05 17:53:45 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-05-16 20:49:56 +0200
commitd2fc60d6925574eeeadd037aa0f1378e07189a1a (patch)
treede827376da3dbe609c263fd8d4fc49378a237784 /drivers/hwmon/hdaps.c
parentInput: use clamp_val() macro in ff-memless.c (diff)
downloadlinux-d2fc60d6925574eeeadd037aa0f1378e07189a1a.tar.xz
linux-d2fc60d6925574eeeadd037aa0f1378e07189a1a.zip
HWMON: hdaps - set up phys and bus type of input device
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to '')
-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)
/* 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,