Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1243417 > unrolled thread

[PATCH v2 1/1] x86/intel-mid: Make intel_mid_ops static

Started byAndy Shevchenko <andriy.shevchenko@linux.intel.com>
First post2015-10-09 16:30 +0200
Last post2015-10-11 21:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 1/1] x86/intel-mid: Make intel_mid_ops static Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2015-10-09 16:30 +0200
    [tip:x86/platform] x86/intel-mid: Make intel_mid_ops static tip-bot for Andy Shevchenko <tipbot@zytor.com> - 2015-10-11 21:10 +0200

#1243417 — [PATCH v2 1/1] x86/intel-mid: Make intel_mid_ops static

FromAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Date2015-10-09 16:30 +0200
Subject[PATCH v2 1/1] x86/intel-mid: Make intel_mid_ops static
Message-ID<qhGQj-4IM-19@gated-at.bofh.it>
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>
---
v2:
- amend subject line
 arch/x86/platform/intel-mid/intel-mid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1244187 — [tip:x86/platform] x86/intel-mid: Make intel_mid_ops static

Fromtip-bot for Andy Shevchenko <tipbot@zytor.com>
Date2015-10-11 21:10 +0200
Subject[tip:x86/platform] x86/intel-mid: Make intel_mid_ops static
Message-ID<qiuam-zO-45@gated-at.bofh.it>
In reply to#1243417
Commit-ID:  d1f0f6c72c14af8a27a6549e0623f7cd61805e83
Gitweb:     http://git.kernel.org/tip/d1f0f6c72c14af8a27a6549e0623f7cd61805e83
Author:     Andy Shevchenko <andriy.shevchenko@linux.intel.com>
AuthorDate: Fri, 9 Oct 2015 17:25:41 +0300
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sun, 11 Oct 2015 21:03:12 +0200

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>
---
 arch/x86/platform/intel-mid/intel-mid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web