Browse Source

HWMON: hdaps - set up phys and bus type of input device

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov 17 năm trước cách đây
mục cha
commit
d2fc60d692
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      drivers/hwmon/hdaps.c

+ 2 - 0
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,