Prevent the MTD map to fail, somehow detect_cfe will read the tag plus some garbage...
[openwrt.git] / target / linux / brcm63xx / files / drivers / mtd / maps / bcm963xx-flash.c
index 9543c17..dc1508b 100644 (file)
@@ -184,7 +184,7 @@ static int bcm963xx_detect_cfe(struct mtd_info *master)
        ret = master->read(master, idoffset, 8, &retlen, (void *)buf);
        buf[retlen] = 0;
        printk("bcm963xx: Read Signature value of %s\n", buf);
-       return strncmp(idstring,buf,8);
+       return strncmp(idstring, buf, 8);
 }
 
 static int __init bcm963xx_mtd_init(void)
This page took 0.020963 seconds and 4 git commands to generate.