aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/qt1070.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-04-27 21:39:20 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-04-27 23:11:13 -0700
commit94bb530c247a29f75fc728e5f8374a83d59d7e45 (patch)
treef16cf6b2e2511d3d239aeeee4d7a4c182bb95f9f /drivers/input/keyboard/qt1070.c
parentInput: evdev - only signal polls on full packets (diff)
downloadlinux-dev-94bb530c247a29f75fc728e5f8374a83d59d7e45.tar.xz
linux-dev-94bb530c247a29f75fc728e5f8374a83d59d7e45.zip
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/input/keyboard/qt1070.c')
-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 = {