mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user