diff options
author | Bixuan Cui <cuibixuan@huawei.com> | 2021-05-08 11:14:48 +0800 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:48:11 -0400 |
commit | f77cbc1b22ccccc60f73895a2ba875830f9199e5 (patch) | |
tree | 32f113176498ab597845ceea0c861de22096d59f /drivers/hid | |
parent | f88375b1de30713598ba8e6f5716797e4ee3ec3f (diff) | |
download | linux-stable-f77cbc1b22ccccc60f73895a2ba875830f9199e5.tar.gz linux-stable-f77cbc1b22ccccc60f73895a2ba875830f9199e5.tar.bz2 linux-stable-f77cbc1b22ccccc60f73895a2ba875830f9199e5.zip |
HID: gt683r: add missing MODULE_DEVICE_TABLE
[ Upstream commit a4b494099ad657f1cb85436d333cf38870ee95bc ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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 a298fbd8db6b..8ca4c1baeda8 100644 --- a/drivers/hid/hid-gt683r.c +++ b/drivers/hid/hid-gt683r.c @@ -64,6 +64,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) |