summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:54:22 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:54:22 +0800
commit300f0f53c54fab5dd994a8bc42edbdc6115ef7b9 (patch)
tree6d5384f7dd8134e6e69acd04730fe82ab14d90c0 /src/flash/nor
parent402d3292bbd6e04ffefb1bdf7ab61f3bfc36c44a (diff)
downloadopenocd+libswd-300f0f53c54fab5dd994a8bc42edbdc6115ef7b9.tar.gz
openocd+libswd-300f0f53c54fab5dd994a8bc42edbdc6115ef7b9.tar.bz2
openocd+libswd-300f0f53c54fab5dd994a8bc42edbdc6115ef7b9.tar.xz
openocd+libswd-300f0f53c54fab5dd994a8bc42edbdc6115ef7b9.zip
NOR/CORE: review scope of data
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/core.c b/src/flash/nor/core.c
index 8b581b0c..18012c65 100644
--- a/src/flash/nor/core.c
+++ b/src/flash/nor/core.c
@@ -36,7 +36,7 @@
* primarily support access from Tcl scripts or from GDB.
*/
-struct flash_bank *flash_banks;
+static struct flash_bank *flash_banks;
int flash_driver_erase(struct flash_bank *bank, int first, int last)
{