projects
/
GitHub
/
moto-9609
/
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:
cdda911
)
Input: qt1070 - add MODULE_DEVICE_TABLE
author
Axel Lin
<axel.lin@gmail.com>
Thu, 28 Apr 2011 04:39:20 +0000
(21:39 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Thu, 28 Apr 2011 06:11:13 +0000
(23:11 -0700)
Adding the necessary MODULE_DEVICE_TABLE() information allows the
driver to be automatically loaded by udev
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/qt1070.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/keyboard/qt1070.c
b/drivers/input/keyboard/qt1070.c
index fba8404c7297536d80fcbc2a3efac6129f996ace..ca7b89196ab79a4ceee7b05ebe2ce65044c055b3 100644
(file)
--- a/
drivers/input/keyboard/qt1070.c
+++ b/
drivers/input/keyboard/qt1070.c
@@
-248,6
+248,7
@@
static const struct i2c_device_id qt1070_id[] = {
{ "qt1070", 0 },
{ },
};
+MODULE_DEVICE_TABLE(i2c, qt1070_id);
static struct i2c_driver qt1070_driver = {
.driver = {