soc: rockchip: cpuinfo: Export rockchip_soc_id_init symbol

Allow clk modules call rockchip_soc_id_init().

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5986e98167ed059239ef9fc28f118e94ed0e6b8d
This commit is contained in:
Tao Huang
2022-12-14 18:20:16 +08:00
parent a7d36d67ed
commit 26daf547e4

View File

@@ -239,7 +239,7 @@ static void rk3568_init(void)
rk356x_set_cpu_version();
}
int __init rockchip_soc_id_init(void)
int rockchip_soc_id_init(void)
{
if (rockchip_soc_id)
return 0;
@@ -271,6 +271,7 @@ int __init rockchip_soc_id_init(void)
return 0;
}
EXPORT_SYMBOL(rockchip_soc_id_init);
#ifndef MODULE
pure_initcall(rockchip_soc_id_init);
#endif