]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ARM: OMAP: omap3evm: fix new sparse warning
authorPaul Walmsley <paul@pwsan.com>
Sun, 7 Oct 2012 19:10:00 +0000 (13:10 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 7 Oct 2012 19:10:00 +0000 (13:10 -0600)
commit695f0117e7d80709c7aec54d5fffb8051c97cf23
treeeb61d6723b5a8a07c6bef45402b07f12434ef058
parent3dc3401cfa19a39c01c2c098830bfcd2a450b798
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>
arch/arm/mach-omap2/board-omap3evm.c