ARM: OMAP: SRAM: resolve sparse warnings
authorPaul Walmsley <paul@pwsan.com>
Fri, 28 Dec 2012 09:09:15 +0000 (02:09 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 1 Jan 2013 22:42:00 +0000 (15:42 -0700)
commit9fbe7c24256d7dd8d9d280fc9270af78aea21627
treebb9cb9ca3fef6f4dd692ed38c07ad8e5eb93bb69
parent9816aa80b09923ac63e9da274083c0ad55468230
ARM: OMAP: SRAM: resolve sparse warnings

Commit bb77209432873214a796a70a4539e4ebdf3feb54 ("ARM: OMAP: Move
omap2+ specific parts of sram.c to mach-omap2") adds some new sparse
warnings:

arch/arm/plat-omap/sram.c:43:6: warning: symbol 'omap_sram_push_address' was not declared. Should it be static?
arch/arm/plat-omap/sram.c:65:6: warning: symbol 'omap_sram_reset' was not declared. Should it be static?
arch/arm/plat-omap/sram.c:73:13: warning: symbol 'omap_map_sram' was not declared. Should it be static?

This second version fixes the warnings by including <plat/sram.h>, at
Tony's request.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/sram.c