HWMON: hdaps - set up phys and bus type of input device
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
923104747d
commit
d2fc60d692
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user