summaryrefslogtreecommitdiffstats
path: root/drivers
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
parentcdda911c34006f1089f3c87b1a1f31ab3a4722f2 (diff)
downloadtalos-op-linux-94bb530c247a29f75fc728e5f8374a83d59d7e45.tar.gz
talos-op-linux-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')
-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 = {
OpenPOWER on IntegriCloud