summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-02-04 09:49:45 +0100
committerBryan Wu <cooloney@kernel.org>2009-02-04 09:49:45 +0100
commitaf4c7d4b4eddc297bbb516abdd6154bffc8e05e5 (patch)
tree27945a38d025c8e6aa0a2d79724ba9e2d2d1b986 /arch
parentBlackfin arch: cplb mananger: use a do...while loop rather than a for loop (diff)
downloadlinux-af4c7d4b4eddc297bbb516abdd6154bffc8e05e5.tar.xz
linux-af4c7d4b4eddc297bbb516abdd6154bffc8e05e5.zip
Blackfin arch: define bfin_memmap as static since it is only used here
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 86feb4274218..39bdedcb9233 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -60,7 +60,7 @@ void __initdata *init_retx, *init_saved_retx, *init_saved_seqstat,
#define BFIN_MEMMAP_MAX 128 /* number of entries in bfin_memmap */
#define BFIN_MEMMAP_RAM 1
#define BFIN_MEMMAP_RESERVED 2
-struct bfin_memmap {
+static struct bfin_memmap {
int nr_map;
struct bfin_memmap_entry {
unsigned long long addr; /* start of memory segment */