From d7246f452f4da9767e9ebdd6fb43b982954c02bf Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 21:52:33 +0800 Subject: [PATCH] NOR/STR7X: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- src/flash/nor/str7x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c index fa1744c5..d5e8e288 100644 --- a/src/flash/nor/str7x.c +++ b/src/flash/nor/str7x.c @@ -31,7 +31,7 @@ #include -struct str7x_mem_layout mem_layout_str7bank0[] = { +static struct str7x_mem_layout mem_layout_str7bank0[] = { {0x00000000, 0x02000, 0x01}, {0x00002000, 0x02000, 0x02}, {0x00004000, 0x02000, 0x04}, @@ -42,7 +42,7 @@ struct str7x_mem_layout mem_layout_str7bank0[] = { {0x00030000, 0x10000, 0x80} }; -struct str7x_mem_layout mem_layout_str7bank1[] = { +static struct str7x_mem_layout mem_layout_str7bank1[] = { {0x00000000, 0x02000, 0x10000}, {0x00002000, 0x02000, 0x20000} }; -- 2.39.5