add generic 2.6.28 patches
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 060-block2mtd_init.patch
index b331f7361bddb4d3518da64c1f374459d2166106..4a1c9581f50efbbc281cc1b10bf9ce551302a05c 100644 (file)
@@ -1,7 +1,5 @@
-Index: linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c
-===================================================================
---- linux-2.6.23-rc6.orig/drivers/mtd/devices/block2mtd.c      2007-09-21 16:23:54.000000000 +0800
-+++ linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c   2007-09-21 16:23:59.000000000 +0800
+--- a/drivers/mtd/devices/block2mtd.c
++++ b/drivers/mtd/devices/block2mtd.c
 @@ -16,6 +16,7 @@
  #include <linux/list.h>
  #include <linux/init.h>
@@ -91,7 +89,7 @@ Index: linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c
                token[i] = strsep(&str, ",");
  
        if (str)
-@@ -412,8 +421,10 @@
+@@ -411,8 +420,10 @@
                        parse_err("illegal erase size");
                }
        }
@@ -103,7 +101,7 @@ Index: linux-2.6.23-rc6/drivers/mtd/devices/block2mtd.c
  
        return 0;
  }
-@@ -447,7 +458,7 @@
+@@ -446,7 +457,7 @@
  
  
  module_param_call(block2mtd, block2mtd_setup, NULL, NULL, 0200);