mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
phy: core: Call phy_core_init() early when CONFIG_INITCALL_ASYNC=y
ohci_platform_init()/ehci_platform_init depends on phy_core_init() to init phy_class. But ohci_platform_init()/ehci_platform_init and phy_core_init() are both in the same device_initcall/module_init level. Fix this by moving phy_core_init() to the subsys_initcall level. Change-Id: I0bbe2e1a02001e2ba97c9dc8be96d651984784ef Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -1235,4 +1235,8 @@ static int __init phy_core_init(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#ifdef CONFIG_INITCALL_ASYNC
|
||||
subsys_initcall(phy_core_init);
|
||||
#else
|
||||
device_initcall(phy_core_init);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user