From patchwork Wed Jun 3 02:18:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: let include/linux/mtd/partitions.h stand on its own X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 28027 Message-Id: To: linux-mtd@lists.infradead.org Date: Tue, 02 Jun 2009 22:18:33 -0400 (EDT) From: Nicolas Pitre List-Id: Linux MTD discussion mailing list When declaring static MTD partitions in board specific code, only including include/linux/mtd/partitions.h should suffice without gcc nagging us. Signed-off-by: Nicolas Pitre --- This is also queued on top of git://git.marvell.com/orion mtd for which a pull request was sent already. diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index af6dcb9..b70313d 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -47,6 +47,8 @@ struct mtd_partition { #define MTDPART_SIZ_FULL (0) +struct mtd_info; + int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int); int del_mtd_partitions(struct mtd_info *);