diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-16 00:00:57 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-16 00:00:57 +0200 |
commit | 72eb87673cefbd046416fc27579507b1192fae94 (patch) | |
tree | 65d853461768789c071906af2544511863eba2cb /src/flash | |
parent | e53836718664e507a9cb431444a0fc9021ebae04 (diff) | |
download | openocd+libswd-72eb87673cefbd046416fc27579507b1192fae94.tar.gz openocd+libswd-72eb87673cefbd046416fc27579507b1192fae94.tar.bz2 openocd+libswd-72eb87673cefbd046416fc27579507b1192fae94.tar.xz openocd+libswd-72eb87673cefbd046416fc27579507b1192fae94.zip |
stm32x: -Wshadow warning fixes
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nor/stm32x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index 47ed6406..5ce5d455 100644 --- a/src/flash/nor/stm32x.c +++ b/src/flash/nor/stm32x.c @@ -814,7 +814,7 @@ COMMAND_HANDLER(stm32x_handle_part_id_command) } #endif -static int stm32x_info(struct flash_bank *bank, char *buf, int buf_size) +static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size) { struct target *target = bank->target; uint32_t device_id; @@ -1305,5 +1305,5 @@ struct flash_driver stm32x_flash = { .auto_probe = stm32x_auto_probe, .erase_check = default_flash_mem_blank_check, .protect_check = stm32x_protect_check, - .info = stm32x_info, + .info = get_stm32x_info, }; |