summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 21:52:33 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 21:52:33 +0800
commitd7246f452f4da9767e9ebdd6fb43b982954c02bf (patch)
treea3b5816fceb9e8d90f12a6d08f8930e75998ebfc /src/flash
parentc936cb334b9e60c3326675912c97faafb379d3ed (diff)
downloadopenocd_libswd-d7246f452f4da9767e9ebdd6fb43b982954c02bf.tar.gz
openocd_libswd-d7246f452f4da9767e9ebdd6fb43b982954c02bf.tar.bz2
openocd_libswd-d7246f452f4da9767e9ebdd6fb43b982954c02bf.tar.xz
openocd_libswd-d7246f452f4da9767e9ebdd6fb43b982954c02bf.zip
NOR/STR7X: review scope of data
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/str7x.c4
1 files 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 <target/algorithm.h>
-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}
};