diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-05 17:53:45 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 20:49:56 +0200 |
commit | d2fc60d6925574eeeadd037aa0f1378e07189a1a (patch) | |
tree | de827376da3dbe609c263fd8d4fc49378a237784 /drivers/hwmon/hdaps.c | |
parent | Input: use clamp_val() macro in ff-memless.c (diff) | |
download | linux-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 'drivers/hwmon/hdaps.c')
-rw-r--r-- | drivers/hwmon/hdaps.c | 2 |
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, |