ramips: add support for 2.6.36
[openwrt.git] / target / linux / ar7 / patches-2.6.32 / 920-ar7part.patch
index 9846635..31e4816 100644 (file)
  static int create_mtd_partitions(struct mtd_info *master,
                                 struct mtd_partition **pparts,
                                 unsigned long origin)
-@@ -57,6 +63,16 @@ static int create_mtd_partitions(struct 
+@@ -57,6 +63,16 @@ static int create_mtd_partitions(struct
        int retries = 10;
        struct mtd_partition *ar7_parts;
  
 +      const char *prod_id ;
 +      prod_id = prom_getenv("ProductID");
-+      if(prod_id && 
++      if(prod_id &&
 +              (strcmp(prod_id, "CYWL")==0 ||
 +              strcmp(prod_id, "CYWM")==0 ||
 +              strcmp(prod_id, "CYLM")==0 ||
This page took 0.023386 seconds and 4 git commands to generate.