summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-10-09 17:25:41 +0300
committerThomas Gleixner <tglx@linutronix.de>2015-10-11 21:03:12 +0200
commitd1f0f6c72c14af8a27a6549e0623f7cd61805e83 (patch)
tree39c77d837fd0b3c22e1c158c2a757dae63fa3af8
parentc9e69c8c58eb8671e9f6cee728088e4c5abc9115 (diff)
downloadop-kernel-dev-d1f0f6c72c14af8a27a6549e0623f7cd61805e83.zip
op-kernel-dev-d1f0f6c72c14af8a27a6549e0623f7cd61805e83.tar.gz
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>
-rw-r--r--arch/x86/platform/intel-mid/intel-mid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/intel-mid/intel-mid.c b/arch/x86/platform/intel-mid/intel-mid.c
index 01d54ea..1bbc21e 100644
--- a/arch/x86/platform/intel-mid/intel-mid.c
+++ b/arch/x86/platform/intel-mid/intel-mid.c
@@ -61,7 +61,7 @@
enum intel_mid_timer_options intel_mid_timer_options;
/* intel_mid_ops to store sub arch ops */
-struct intel_mid_ops *intel_mid_ops;
+static struct intel_mid_ops *intel_mid_ops;
/* getter function for sub arch ops*/
static void *(*get_intel_mid_ops[])(void) = INTEL_MID_OPS_INIT;
enum intel_mid_cpu_type __intel_mid_cpu_chip;
OpenPOWER on IntegriCloud