projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9231047
)
HWMON: hdaps - set up phys and bus type of input device
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 5 May 2008 15:53:45 +0000
(11:53 -0400)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 16 May 2008 18:49:56 +0000
(14:49 -0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/hwmon/hdaps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/hdaps.c
b/drivers/hwmon/hdaps.c
index bab5fd2e4dfdafd4442fa13bdd90f3a3f2022d39..ea4fc65775931580c00c4f258867116aeba847e2 100644
(file)
--- 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,