blackfin-cpufreq: Mark cpu_set_cclk() as static
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 21 Dec 2015 21:12:26 +0000 (22:12 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Dec 2015 00:51:36 +0000 (01:51 +0100)
The cpu_set_cclk() function was only used in a single source file so far.
Indicate this setting also by the corresponding linkage specifier.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/blackfin-cpufreq.c

index 2a6f3ac..12e97d8 100644 (file)
@@ -112,7 +112,7 @@ static unsigned int bfin_getfreq_khz(unsigned int cpu)
 }
 
 #ifdef CONFIG_BF60x
-int cpu_set_cclk(int cpu, unsigned long new)
+static int cpu_set_cclk(int cpu, unsigned long new)
 {
        struct clk *clk;
        int ret;