[MTD] mtdram.c should #include <linux/mtd/mtdram.h>
authorAdrian Bunk <bunk@kernel.org>
Mon, 14 Apr 2008 14:20:02 +0000 (17:20 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 14:55:07 +0000 (15:55 +0100)
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@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/devices/mtdram.c

index e427c82..bf485ff 100644 (file)
@@ -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;