Input: qt1070 - Add MODULE_DEVICE_TABLE
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/input/keyboard/qt1070.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/input/keyboard/qt1070.c +1 -0
@@ -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 = {
Signature · 1 line
1.7.1
Quoted 3 lines · Axel Lin
Adding the necessary
MODULE_DEVICE_TABLE()information allows the driver to be automatically loaded by udev
Applied, thanks Axel.
Signature · 1 line
Dmitry