HWMON: hdaps - set up phys and bus type of input device
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Родитель
923104747d
Коммит
d2fc60d692
|
@ -573,6 +573,8 @@ static int __init hdaps_init(void)
|
||||||
/* initialize the input class */
|
/* initialize the input class */
|
||||||
idev = hdaps_idev->input;
|
idev = hdaps_idev->input;
|
||||||
idev->name = "hdaps";
|
idev->name = "hdaps";
|
||||||
|
idev->phys = "isa1600/input0";
|
||||||
|
idev->id.bustype = BUS_ISA;
|
||||||
idev->dev.parent = &pdev->dev;
|
idev->dev.parent = &pdev->dev;
|
||||||
idev->evbit[0] = BIT_MASK(EV_ABS);
|
idev->evbit[0] = BIT_MASK(EV_ABS);
|
||||||
input_set_abs_params(idev, ABS_X,
|
input_set_abs_params(idev, ABS_X,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче