projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
|
history
diff --git
a/drivers/input/keyboard/qt1070.c
b/drivers/input/keyboard/qt1070.c
index
fba8404
..
ca7b891
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 = {