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