]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] mtdchar.c remove shadowed variable warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 4 Jul 2008 06:40:14 +0000 (23:40 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 13:47:25 +0000 (14:47 +0100)
commit175428b2b3eeacf90dcc171d5915d6b4dc86e917
tree66b043a9e7db0c310e5742d584c02586272a248a
parent5f6928378b165c4b0d57a711e1c1eb925ad33846
[MTD] mtdchar.c remove shadowed variable warnings

Use einfo, oinfo for the inner erase_info and otp_info structs used in
individual case statements.

drivers/mtd/mtdchar.c:582:26: warning: symbol 'info' shadows an earlier one
drivers/mtd/mtdchar.c:380:23: originally declared here
drivers/mtd/mtdchar.c:596:26: warning: symbol 'info' shadows an earlier one
drivers/mtd/mtdchar.c:380:23: originally declared here
drivers/mtd/mtdchar.c:704:19: warning: symbol 'info' shadows an earlier one
drivers/mtd/mtdchar.c:380:23: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdchar.c