summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:56:24 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:56:24 +0800
commit069f88cfac1199657a7e4c9988b0bc86eca99ac9 (patch)
treec6cc153628c8d41a13bf4ac5b611d5f9b92db2eb
parent300f0f53c54fab5dd994a8bc42edbdc6115ef7b9 (diff)
downloadopenocd+libswd-069f88cfac1199657a7e4c9988b0bc86eca99ac9.tar.gz
openocd+libswd-069f88cfac1199657a7e4c9988b0bc86eca99ac9.tar.bz2
openocd+libswd-069f88cfac1199657a7e4c9988b0bc86eca99ac9.tar.xz
openocd+libswd-069f88cfac1199657a7e4c9988b0bc86eca99ac9.zip
NOR/AVRF: review scope of data
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--src/flash/nor/avrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c
index 5b40ad73..15b8b279 100644
--- a/src/flash/nor/avrf.c
+++ b/src/flash/nor/avrf.c
@@ -50,7 +50,7 @@
#define AVR_JTAG_REG_ProgrammingCommand_Len 15
#define AVR_JTAG_REG_FlashDataByte_Len 16
-struct avrf_type avft_chips_info[] =
+static struct avrf_type avft_chips_info[] =
{
/* name, chip_id, flash_page_size, flash_page_num,
* eeprom_page_size, eeprom_page_num