kernel: reorganize 2.6.37 patches
[openwrt.git] / target / linux / generic / patches-2.6.36 / 065-rootfs_split.patch
index 43292bfd32c24db6f1f4fdce006e7feff8cc22be..74471f18ba61b8f0ba4f46860d1dde537fa0cbf6 100644 (file)
  
  #include <linux/mtd/mtd.h>
  #include <linux/mtd/map.h>
-@@ -854,6 +855,13 @@ static int mtd_ioctl(struct file *file,
+@@ -854,6 +855,13 @@ static int mtd_ioctl(struct file *file, 
                file->f_pos = 0;
                break;
        }
                ret = -ENOTTY;
 --- a/include/linux/mtd/mtd.h
 +++ b/include/linux/mtd/mtd.h
-@@ -98,6 +98,7 @@ struct mtd_oob_ops {
+@@ -110,6 +110,7 @@ struct mtd_oob_ops {
        uint8_t         *oobbuf;
  };
  
  struct mtd_info {
        u_char type;
        uint32_t flags;
-@@ -238,6 +239,9 @@ struct mtd_info {
+@@ -251,6 +252,9 @@ struct mtd_info {
        struct device dev;
        int usecount;