From: Bixuan Cui Date: Sat, 8 May 2021 03:14:48 +0000 (+0800) Subject: HID: gt683r: add missing MODULE_DEVICE_TABLE X-Git-Tag: accepted/tizen/unified/20230118.172025~6952^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4b494099ad657f1cb85436d333cf38870ee95bc;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Bixuan Cui Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-gt683r.c b/drivers/hid/hid-gt683r.c index 898871c..29ccb0a 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)