From: Axel Lin Date: Thu, 28 Apr 2011 04:39:20 +0000 (-0700) Subject: Input: qt1070 - add MODULE_DEVICE_TABLE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94bb530c247a29f75fc728e5f8374a83d59d7e45;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c index fba8404c729..ca7b89196ab 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 = {