Skip to content

Commit

Permalink
Input: qt1070 - add MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Axel Lin authored and Dmitry Torokhov committed Apr 28, 2011
1 parent cdda911 commit 94bb530
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/input/keyboard/qt1070.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 94bb530

Please sign in to comment.