Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f82b196 authored by Sachin Kamat's avatar Sachin Kamat Committed by Rafael J. Wysocki
Browse files

cpufreq: s3c2440: Staticize local variables



Local variables used only in this file are made static.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 2b2ec67f
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -53,7 +53,7 @@ static inline int within_khz(unsigned long a, unsigned long b)
 * specified in @cfg. The values are stored in @cfg for later use
 * specified in @cfg. The values are stored in @cfg for later use
 * by the relevant set routine if the request settings can be reached.
 * by the relevant set routine if the request settings can be reached.
 */
 */
int s3c2440_cpufreq_calcdivs(struct s3c_cpufreq_config *cfg)
static int s3c2440_cpufreq_calcdivs(struct s3c_cpufreq_config *cfg)
{
{
	unsigned int hdiv, pdiv;
	unsigned int hdiv, pdiv;
	unsigned long hclk, fclk, armclk;
	unsigned long hclk, fclk, armclk;
@@ -240,7 +240,7 @@ static int s3c2440_cpufreq_calctable(struct s3c_cpufreq_config *cfg,
	return ret;
	return ret;
}
}


struct s3c_cpufreq_info s3c2440_cpufreq_info = {
static struct s3c_cpufreq_info s3c2440_cpufreq_info = {
	.max		= {
	.max		= {
		.fclk	= 400000000,
		.fclk	= 400000000,
		.hclk	= 133333333,
		.hclk	= 133333333,