From 9e4006bca3d9fb4a2d061996771036cb01e539d3 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Mon, 16 Jun 2008 08:58:07 -0400 Subject: [PATCH] NAND: Add missing declaration to non-redundant saveenv(). Signed-off-by: Scott Wood --- common/env_nand.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/env_nand.c b/common/env_nand.c index a48e98e509..e21d2a34ae 100644 --- a/common/env_nand.c +++ b/common/env_nand.c @@ -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; -- 2.25.1