410-mtd-move-forward-declaration-of-struct-mtd_info.patch 425 B

123456789101112131415161718
  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. struct mtd_partition {
  9. const char *name; /* identifier string */
  10. @@ -50,7 +51,6 @@ struct mtd_partition {
  11. #define MTDPART_SIZ_FULL (0)
  12. -struct mtd_info;
  13. struct device_node;
  14. /**