From: Øyvind Harboe Date: Tue, 15 Jun 2010 22:00:57 +0000 (+0200) Subject: stm32x: -Wshadow warning fixes X-Git-Tag: v0.5.0-rc1~605 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72eb87673cefbd046416fc27579507b1192fae94;p=openocd stm32x: -Wshadow warning fixes Signed-off-by: Øyvind Harboe --- 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, };