kernel/3.1[02]: move MTD root device setup code to mtdcore
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.10 / 410-mtd-move-forward-declaration-of-struct-mtd_info.patch
1 --- a/include/linux/mtd/partitions.h
2 +++ b/include/linux/mtd/partitions.h
3 @@ -35,6 +35,7 @@
4 * Note: writeable partitions require their size and offset be
5 * erasesize aligned (e.g. use MTDPART_OFS_NEXTBLK).
6 */
7 +struct mtd_info;
8
9 struct mtd_partition {
10 char *name; /* identifier string */
11 @@ -50,7 +51,6 @@ struct mtd_partition {
12 #define MTDPART_SIZ_FULL (0)
13
14
15 -struct mtd_info;
16 struct device_node;
17
18 /**