Commit 94bb530c authored by Axel Lin's avatar Axel Lin Committed by Dmitry Torokhov

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent cdda911c
...@@ -248,6 +248,7 @@ static const struct i2c_device_id qt1070_id[] = { ...@@ -248,6 +248,7 @@ static const struct i2c_device_id qt1070_id[] = {
{ "qt1070", 0 }, { "qt1070", 0 },
{ }, { },
}; };
MODULE_DEVICE_TABLE(i2c, qt1070_id);
static struct i2c_driver qt1070_driver = { static struct i2c_driver qt1070_driver = {
.driver = { .driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment