aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-01-03 04:27:36 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-05 19:18:33 -0500
commit8f82b196866c4c3ec4cdc687667707d442d0c23b (patch)
treea965ebfae8c3776b25d89218bc633c30d944b77e /drivers/cpufreq
parent2b2ec67fa390ff7355432035132d32270aca4c3c (diff)
cpufreq: s3c2440: Staticize local variables
Local variables used only in this file are made static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/s3c2440-cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/s3c2440-cpufreq.c b/drivers/cpufreq/s3c2440-cpufreq.c
index 717ef04ec90e..f84ed10755b5 100644
--- a/drivers/cpufreq/s3c2440-cpufreq.c
+++ b/drivers/cpufreq/s3c2440-cpufreq.c
@@ -53,7 +53,7 @@ static inline int within_khz(unsigned long a, unsigned long b)
53 * specified in @cfg. The values are stored in @cfg for later use 53 * specified in @cfg. The values are stored in @cfg for later use
54 * by the relevant set routine if the request settings can be reached. 54 * by the relevant set routine if the request settings can be reached.
55 */ 55 */
56int s3c2440_cpufreq_calcdivs(struct s3c_cpufreq_config *cfg) 56static int s3c2440_cpufreq_calcdivs(struct s3c_cpufreq_config *cfg)
57{ 57{
58 unsigned int hdiv, pdiv; 58 unsigned int hdiv, pdiv;
59 unsigned long hclk, fclk, armclk; 59 unsigned long hclk, fclk, armclk;
@@ -240,7 +240,7 @@ static int s3c2440_cpufreq_calctable(struct s3c_cpufreq_config *cfg,
240 return ret; 240 return ret;
241} 241}
242 242
243struct s3c_cpufreq_info s3c2440_cpufreq_info = { 243static struct s3c_cpufreq_info s3c2440_cpufreq_info = {
244 .max = { 244 .max = {
245 .fclk = 400000000, 245 .fclk = 400000000,
246 .hclk = 133333333, 246 .hclk = 133333333,