NAND: Add missing declaration to non-redundant saveenv().

Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
Philip Balister 2008-06-16 08:58:07 -04:00 committed by Scott Wood
parent 2cdb7f50ac
commit 9e4006bca3

View file

@ -230,7 +230,8 @@ int saveenv(void)
{
size_t total;
int ret = 0;
nand_erase_options_t nand_erase_options;
nand_erase_options.length = CFG_ENV_RANGE;
nand_erase_options.quiet = 0;
nand_erase_options.jffs2 = 0;