r22680 also applies to 2.6.32
[openwrt-10.03/.git] / target / linux / orion / patches / 050-wrt350nv2_cfi_workaround.patch
index 270d3e5f1228dff7ccec9ad522990a0c2d72f373..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 @@
-                       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')) {