mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user