X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e60c0328f00278865338525f5ad9abeb0785ca5f..90f374771e2d0a49a6abfa073266cfcbfbab8667:/target/linux/generic/patches-2.6.36/065-rootfs_split.patch diff --git a/target/linux/generic/patches-2.6.36/065-rootfs_split.patch b/target/linux/generic/patches-2.6.36/065-rootfs_split.patch index 43292bfd3..74471f18b 100644 --- a/target/linux/generic/patches-2.6.36/065-rootfs_split.patch +++ b/target/linux/generic/patches-2.6.36/065-rootfs_split.patch @@ -554,7 +554,7 @@ #include #include -@@ -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; } @@ -570,7 +570,7 @@ 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; }; @@ -578,7 +578,7 @@ 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;