Skip to content

Commit d1f0f6c

Browse files
andy-shevKAGA-KOKO
authored andcommitted
x86/intel-mid: Make intel_mid_ops static
The following warning is issued on unfixed code. arch/x86/platform/intel-mid/intel-mid.c:64:22: warning: symbol 'intel_mid_ops' was not declared. Should it be static? Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: http://lkml.kernel.org/r/1444400741-98669-1-git-send-email-andriy.shevchenko@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent c9e69c8 commit d1f0f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/platform/intel-mid/intel-mid.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
enum intel_mid_timer_options intel_mid_timer_options;
6262

6363
/* intel_mid_ops to store sub arch ops */
64-
struct intel_mid_ops *intel_mid_ops;
64+
static struct intel_mid_ops *intel_mid_ops;
6565
/* getter function for sub arch ops*/
6666
static void *(*get_intel_mid_ops[])(void) = INTEL_MID_OPS_INIT;
6767
enum intel_mid_cpu_type __intel_mid_cpu_chip;

0 commit comments

Comments
 (0)