From 769621dec9b67804269305515e936dee82b522f7 Mon Sep 17 00:00:00 2001 From: matteo Date: Tue, 11 Sep 2007 23:50:02 +0000 Subject: more AR7 cleanups & fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8758 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7/files/drivers/mtd/ar7part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ar7/files/drivers/mtd') diff --git a/target/linux/ar7/files/drivers/mtd/ar7part.c b/target/linux/ar7/files/drivers/mtd/ar7part.c index b8c0ed0b2e..aa2508f90d 100644 --- a/target/linux/ar7/files/drivers/mtd/ar7part.c +++ b/target/linux/ar7/files/drivers/mtd/ar7part.c @@ -59,7 +59,7 @@ static int create_mtd_partitions(struct mtd_info *master, ar7_parts[1].size = master->erasesize; ar7_parts[1].mask_flags = 0; - do { + do { /* Try 10 blocks starting from master->erasesize */ offset = pre_size; master->read(master, offset, sizeof(header), &len, (u_char *)&header); -- cgit v1.2.3