summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-06-15 23:59:21 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-06-15 23:59:21 +0200
commite53836718664e507a9cb431444a0fc9021ebae04 (patch)
tree2ee46bace970c95b3ab66c653b20602a57a7d350 /src
parent0a837fc36bee177094cc064d8146c2a96e4a8f1d (diff)
downloadopenocd+libswd-e53836718664e507a9cb431444a0fc9021ebae04.tar.gz
openocd+libswd-e53836718664e507a9cb431444a0fc9021ebae04.tar.bz2
openocd+libswd-e53836718664e507a9cb431444a0fc9021ebae04.tar.xz
openocd+libswd-e53836718664e507a9cb431444a0fc9021ebae04.zip
stellaris: -Wshadow warning fixes
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r--src/flash/nor/stellaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index f7e2e8d9..ff1c2e48 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -255,7 +255,7 @@ FLASH_BANK_COMMAND_HANDLER(stellaris_flash_bank_command)
return ERROR_OK;
}
-static int stellaris_info(struct flash_bank *bank, char *buf, int buf_size)
+static int get_stellaris_info(struct flash_bank *bank, char *buf, int buf_size)
{
int printed, device_class;
struct stellaris_flash_bank *stellaris_info = bank->driver_priv;
@@ -1272,5 +1272,5 @@ struct flash_driver stellaris_flash = {
.auto_probe = stellaris_probe,
.erase_check = default_flash_mem_blank_check,
.protect_check = stellaris_protect_check,
- .info = stellaris_info,
+ .info = get_stellaris_info,
};