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>
This commit is contained in:
Axel Lin 2011-04-27 21:39:20 -07:00 committed by Dmitry Torokhov
parent cdda911c34
commit 94bb530c24

View file

@ -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 = {