phy: core: Call phy_core_init early when CONFIG_ROCKCHIP_THUNDER_BOOT=y

Change-Id: I0bbe2e1a02001e2ba97c9dc8be96d651984784ef
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2020-04-10 10:48:39 +08:00
parent 3800aa06f0
commit cb0381c832

View File

@ -1063,7 +1063,11 @@ static int __init phy_core_init(void)
return 0;
}
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
subsys_initcall(phy_core_init);
#else
module_init(phy_core_init);
#endif
static void __exit phy_core_exit(void)
{