projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e538367
)
stm32x: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 22:00:57 +0000
(
00:00
+0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 22:00:57 +0000
(
00:00
+0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/stm32x.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/stm32x.c
b/src/flash/nor/stm32x.c
index 47ed6406074ef997261d79e1d23f8b1207e7d1c5..5ce5d455f4f91ec6372ac66875f3376de83702e3 100644
(file)
--- 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,
};