arm: topology: Export arch_get_cpu_efficiency API
Export arch_get_cpu_efficiency API since it can be called
by the modules. Update topology header file too.
Change-Id: Ie2ab84b02a8fb4070a0e86f09f52db9aa4163003
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
[pkondeti@codeaurora.org: porting to 32 bit arm]
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 1bdc8e3..2b6c530 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -202,6 +202,7 @@ unsigned long arch_get_cpu_efficiency(int cpu)
{
return per_cpu(cpu_efficiency, cpu);
}
+EXPORT_SYMBOL(arch_get_cpu_efficiency);
#ifdef CONFIG_OF
struct cpu_efficiency {