[MTD] mtdram.c should #include <linux/mtd/mtdram.h>
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue Apr 22 11:59:02 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=456d9fc92eb8635d53e8facc57764464b8759173
Commit: 456d9fc92eb8635d53e8facc57764464b8759173
Parent: 51ee83df6151a3e618e65236e304e00ac8d95607
Author: Adrian Bunk <bunk at kernel.org>
AuthorDate: Mon Apr 14 17:20:02 2008 +0300
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 15:55:07 2008 +0100
[MTD] mtdram.c should #include <linux/mtd/mtdram.h>
Every file should include the headers containing the externs for its
global functions (in this case for mtdram_init_device()).
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/devices/mtdram.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c
index e427c82..bf485ff 100644
--- a/drivers/mtd/devices/mtdram.c
+++ b/drivers/mtd/devices/mtdram.c
@@ -17,6 +17,7 @@
#include <linux/init.h>
#include <linux/mtd/compatmac.h>
#include <linux/mtd/mtd.h>
+#include <linux/mtd/mtdram.h>
static unsigned long total_size = CONFIG_MTDRAM_TOTAL_SIZE;
static unsigned long erase_size = CONFIG_MTDRAM_ERASE_SIZE;
More information about the linux-mtd-cvs
mailing list