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:
parent
a7d36d67ed
commit
26daf547e4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue