summaryrefslogtreecommitdiff
path: root/cmd/mtd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mtd.c')
-rw-r--r--cmd/mtd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mtd.c b/cmd/mtd.c
index 7f25144098b..ed827accfb5 100644
--- a/cmd/mtd.c
+++ b/cmd/mtd.c
@@ -470,10 +470,10 @@ static int do_mtd_io(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
{
bool dump, read, raw, woob, benchmark, write_empty_pages, has_pages = false;
- u64 start_off, off, len, remaining, default_len, speed;
+ u64 start_off, off, len, remaining, default_len, speed, user_addr = 0;
unsigned long bench_start, bench_end;
struct mtd_oob_ops io_op = {};
- uint user_addr = 0, npages;
+ uint npages;
const char *cmd = argv[0];
struct mtd_info *mtd;
u32 oob_len;