mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02: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:
parent
c02d556ab2
commit
394f572664
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user