Commit 0370f0f9 authored by Colin Ian King's avatar Colin Ian King Committed by Rafael J. Wysocki

cpufreq: sfi: make freq_table static

pointer freq_table can be made static as it does not need to be in
global scope.

Cleans up sparse warning:
"symbol 'freq_table' was not declared. Should it be static?"
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent e773f5c7
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <asm/msr.h> #include <asm/msr.h>
struct cpufreq_frequency_table *freq_table; static struct cpufreq_frequency_table *freq_table;
static struct sfi_freq_table_entry *sfi_cpufreq_array; static struct sfi_freq_table_entry *sfi_cpufreq_array;
static int num_freq_table_entries; static int num_freq_table_entries;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment