Skip to content

Commit a4b4940

Browse files
Bixuan CuiJiri Kosina
authored andcommitted
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 <[email protected]> Signed-off-by: Bixuan Cui <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 3dd653c commit a4b4940

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hid/hid-gt683r.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ static const struct hid_device_id gt683r_led_id[] = {
5454
{ HID_USB_DEVICE(USB_VENDOR_ID_MSI, USB_DEVICE_ID_MSI_GT683R_LED_PANEL) },
5555
{ }
5656
};
57+
MODULE_DEVICE_TABLE(hid, gt683r_led_id);
5758

5859
static void gt683r_brightness_set(struct led_classdev *led_cdev,
5960
enum led_brightness brightness)

0 commit comments

Comments
 (0)