r22680 also applies to 2.6.32
[openwrt-10.03/.git] / target / linux / orion / patches / 050-wrt350nv2_cfi_workaround.patch
index 6268a05b51e8e640c0ea1f08cb3864ffdd72e3bd..246276d1f3c41f94b98f6f24a386e08fd80be599 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
-@@ -323,8 +323,9 @@ struct mtd_info *cfi_cmdset_0002(struct 
-                       return NULL;
-               }
+@@ -374,8 +374,9 @@ struct mtd_info *cfi_cmdset_0002(struct 
+               cfi_fixup_major_minor(cfi, extp);
  
 -              if (extp->MajorVersion != '1' ||
 -                  (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {