diff options
author | Bixuan Cui <cuibixuan@huawei.com> | 2021-05-08 06:14:48 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-05-27 16:40:34 +0300 |
commit | a4b494099ad657f1cb85436d333cf38870ee95bc (patch) | |
tree | b6f88c396c9bcd6df402869a7183479d19534e91 /drivers/hid | |
parent | 3dd653c077efda8152f4dd395359617d577a54cd (diff) | |
download | linux-a4b494099ad657f1cb85436d333cf38870ee95bc.tar.xz |
HID: gt683r: add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-gt683r.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-gt683r.c b/drivers/hid/hid-gt683r.c index 898871c8c768..29ccb0accfba 100644 --- a/drivers/hid/hid-gt683r.c +++ b/drivers/hid/hid-gt683r.c @@ -54,6 +54,7 @@ static const struct hid_device_id gt683r_led_id[] = { { HID_USB_DEVICE(USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL) }, { } }; +MODULE_DEVICE_TABLE(hid, gt683r_led_id); static void gt683r_brightness_set(struct led_classdev *led_cdev, enum led_brightness brightness) |