diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-07 15:10:00 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-10-07 15:10:00 -0400 |
commit | 695f0117e7d80709c7aec54d5fffb8051c97cf23 (patch) | |
tree | eb61d6723b5a8a07c6bef45402b07f12434ef058 /arch | |
parent | 3dc3401cfa19a39c01c2c098830bfcd2a450b798 (diff) |
ARM: OMAP: omap3evm: fix new sparse warning
Commit e54adb1e79762d3591459e5b0e9b9ff578e33fdb ("ARM: OMAP: omap3evm:
cleanup revision bits") adds a new sparse[1] warning:
arch/arm/mach-omap2/board-omap3evm.c:90:4: warning: symbol 'get_omap3_evm_rev' was not declared. Should it be static?
This symbol no longer appears to be used outside this file, so mark it
static and remove the export.
...
1. https://sparse.wiki.kernel.org/index.php/Main_Page
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index c64e565bdef..184ef21f6e3 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -88,11 +88,10 @@ enum { | |||
88 | 88 | ||
89 | static u8 omap3_evm_version; | 89 | static u8 omap3_evm_version; |
90 | 90 | ||
91 | u8 get_omap3_evm_rev(void) | 91 | static u8 get_omap3_evm_rev(void) |
92 | { | 92 | { |
93 | return omap3_evm_version; | 93 | return omap3_evm_version; |
94 | } | 94 | } |
95 | EXPORT_SYMBOL(get_omap3_evm_rev); | ||
96 | 95 | ||
97 | static void __init omap3_evm_get_revision(void) | 96 | static void __init omap3_evm_get_revision(void) |
98 | { | 97 | { |