diff mbox

let include/linux/mtd/partitions.h stand on its own

Message ID alpine.LFD.2.00.0906022208560.3906@xanadu.home
State Accepted
Commit 7699ad35ed06044c4fc1be162553880f98658616
Headers show

Commit Message

Nicolas Pitre June 3, 2009, 2:18 a.m. UTC
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 <nico@marvell.com>
---

This is also queued on top of

	git://git.marvell.com/orion mtd

for which a pull request was sent already.
diff mbox

Patch

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 *);