Skip to content

Commit

Permalink
ARM: OMAP: SRAM: resolve sparse warnings
Browse files Browse the repository at this point in the history
Commit bb77209 ("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>
  • Loading branch information
Paul Walmsley committed Jan 1, 2013
1 parent 9816aa8 commit 9fbe7c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/plat-omap/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#include <asm/mach/map.h>

#include <plat/sram.h>

#define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1)))

static void __iomem *omap_sram_base;
Expand Down

0 comments on commit 9fbe7c2

Please sign in to comment.