mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-17 03:58:36 +00:00
PM / OPP: Export more symbols for module usage
Export cpufreq helpers in OPP to make the cpufreq-core0 and highbank-cpufreq drivers loadable as modules. Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com> Signed-off-by: Nishanth Menon <nm@ti.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
b2ccd76329
commit
74c46c6eaf
1 changed files with 3 additions and 0 deletions
|
@ -661,6 +661,7 @@ int opp_init_cpufreq_table(struct device *dev,
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(opp_init_cpufreq_table);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* opp_free_cpufreq_table() - free the cpufreq table
|
* opp_free_cpufreq_table() - free the cpufreq table
|
||||||
|
@ -678,6 +679,7 @@ void opp_free_cpufreq_table(struct device *dev,
|
||||||
kfree(*table);
|
kfree(*table);
|
||||||
*table = NULL;
|
*table = NULL;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(opp_free_cpufreq_table);
|
||||||
#endif /* CONFIG_CPU_FREQ */
|
#endif /* CONFIG_CPU_FREQ */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -738,4 +740,5 @@ int of_init_opp_table(struct device *dev)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(of_init_opp_table);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue