summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-04-28 08:39:20 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-28 10:11:13 +0400
commit94bb530c247a29f75fc728e5f8374a83d59d7e45 (patch)
treef16cf6b2e2511d3d239aeeee4d7a4c182bb95f9f /drivers
parentcdda911c34006f1089f3c87b1a1f31ab3a4722f2 (diff)
downloadlinux-94bb530c247a29f75fc728e5f8374a83d59d7e45.tar.xz
Input: qt1070 - add MODULE_DEVICE_TABLE
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/keyboard/qt1070.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c
index fba8404c7297..ca7b89196ab7 100644
--- 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 = {