From 72d227cd5e32a6b141026e31ca4702cd69c79e62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Wed, 16 Jun 2010 00:08:58 +0200 Subject: [PATCH] tms470: -Wshadow warning fixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/flash/nor/tms470.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flash/nor/tms470.c b/src/flash/nor/tms470.c index 343c43ed..2f02e5d7 100644 --- 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, }; -- 2.39.5