Skip to content

Commit 089b775

Browse files
committed
Use module_driver instead of module_hid_driver
Use module_driver macro instead of module_hid_driver for compatibility with v3.7 and older kernels.
1 parent a62fdd2 commit 089b775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hid-huion.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static struct hid_driver huion_driver = {
262262
.report_fixup = huion_report_fixup,
263263
.raw_event = huion_raw_event,
264264
};
265-
module_hid_driver(huion_driver);
265+
module_driver(huion_driver, hid_register_driver, hid_unregister_driver);
266266

267267
MODULE_AUTHOR("Martin Rusko");
268268
MODULE_DESCRIPTION("Huion HID driver");

0 commit comments

Comments
 (0)