projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c84c5
)
tms470: -Wshadow warning fixes
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 22:08:58 +0000
(
00:08
+0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 15 Jun 2010 22:08:58 +0000
(
00:08
+0200)
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/tms470.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/tms470.c
b/src/flash/nor/tms470.c
index 343c43ed878f39557fa57b37c27b05dcc3a8096a..2f02e5d77cf9da23effd2b2797af76923457e82a 100644
(file)
--- a/
src/flash/nor/tms470.c
+++ b/
src/flash/nor/tms470.c
@@
-1215,7
+1215,7
@@
static int tms470_protect_check(struct flash_bank *bank)
/* ---------------------------------------------------------------------- */
-static int tms470_info(struct flash_bank *bank, char *buf, int buf_size)
+static int
get_
tms470_info(struct flash_bank *bank, char *buf, int buf_size)
{
int used = 0;
struct tms470_flash_bank *tms470_info = bank->driver_priv;
@@
-1275,5
+1275,5
@@
struct flash_driver tms470_flash = {
.auto_probe = tms470_auto_probe,
.erase_check = tms470_erase_check,
.protect_check = tms470_protect_check,
- .info = tms470_info,
+ .info =
get_
tms470_info,
};