summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:58:15 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:58:15 +0800
commit9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d (patch)
treefde3a51b762c0b679b660bdb908655575f075296 /src/flash/nor
parent069f88cfac1199657a7e4c9988b0bc86eca99ac9 (diff)
downloadopenocd+libswd-9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d.tar.gz
openocd+libswd-9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d.tar.bz2
openocd+libswd-9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d.tar.xz
openocd+libswd-9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d.zip
NOR/ADUC702X: 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/aduc702x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c
index 88072b91..57c591d5 100644
--- a/src/flash/nor/aduc702x.c
+++ b/src/flash/nor/aduc702x.c
@@ -343,7 +343,7 @@ static int aduc702x_write_single(struct flash_bank *bank, uint8_t *buffer, uint3
return ERROR_OK;
}
-int aduc702x_write(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
+static int aduc702x_write(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
{
int retval;