mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
HID: core: Call hid_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y
Change-Id: I070f92c405d898ae9f929bff968a6bd26811085a Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -2430,7 +2430,11 @@ static void __exit hid_exit(void)
|
||||
hid_quirks_exit(HID_BUS_ANY);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
rootfs_initcall(hid_init);
|
||||
#else
|
||||
module_init(hid_init);
|
||||
#endif
|
||||
module_exit(hid_exit);
|
||||
|
||||
MODULE_AUTHOR("Andreas Gal");
|
||||
|
||||
Reference in New Issue
Block a user