1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-19 23:28:29 +02:00
openwrt/target/linux/generic/patches-3.10/410-mtd_info_move_forward_decl.patch
Felix Fietkau 3197479290 kernel: refresh 3.10 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37348
2013-07-15 15:12:37 +00:00

19 lines
420 B
Diff

--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -35,6 +35,7 @@
* Note: writeable partitions require their size and offset be
* erasesize aligned (e.g. use MTDPART_OFS_NEXTBLK).
*/
+struct mtd_info;
struct mtd_partition {
char *name; /* identifier string */
@@ -50,7 +51,6 @@ struct mtd_partition {
#define MTDPART_SIZ_FULL (0)
-struct mtd_info;
struct device_node;
/**