openwrtv4/target/linux/generic/patches-3.10/410-mtd-move-forward-declaration-of-struct-mtd_info.patch
Gabor Juhos 2d49e32715 generic/3.10: rename mtd patches
- change patch numbers to group the related stuff together,
  - add mtd prefix where it is missing,
  - use hyphens in the patch names

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37974
2013-09-13 17:24:25 +00:00

18 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;
/**