projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0a837fc
)
stellaris: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:59:21 +0000
(23:59 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 21:59:21 +0000
(23:59 +0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/stellaris.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/stellaris.c
b/src/flash/nor/stellaris.c
index f7e2e8d9df10079657a0ad36c070ee8fa5fe418b..ff1c2e48fc94f1da478680f5b1456c6aa6c1e493 100644
(file)
--- 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,
};