lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 060-block2mtd_init.patch
index b331f73..4a1c958 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);
This page took 0.02222 seconds and 4 git commands to generate.