diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-05 15:53:45 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 18:49:56 (GMT) |
commit | d2fc60d6925574eeeadd037aa0f1378e07189a1a (patch) | |
tree | de827376da3dbe609c263fd8d4fc49378a237784 /drivers/hwmon/hdaps.c | |
parent | 923104747d5c4d58762aa865f71d48d3beb73ae6 (diff) | |
download | linux-fsl-qoriq-d2fc60d6925574eeeadd037aa0f1378e07189a1a.tar.xz |
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 bab5fd2..ea4fc65 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, |