remove linux 2.4 specific build system code
[openwrt/staging/wigyori.git] / target / linux / generic-2.6 / patches-2.6.33 / 082-mtd_info_move_forward_decl.patch
1 --- a/include/linux/mtd/partitions.h
2 +++ b/include/linux/mtd/partitions.h
3 @@ -33,6 +33,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 struct mtd_partition {
11 @@ -49,7 +50,6 @@ struct mtd_partition {
12 #define MTDPART_SIZ_FULL (0)
13
14
15 -struct mtd_info;
16
17 int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
18 int del_mtd_partitions(struct mtd_info *);