* [2.6 patch] mtdram.c should #include <linux/mtd/mtdram.h>
@ 2008-04-14 14:20 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-04-14 14:20 UTC (permalink / raw
To: dwmw2; +Cc: linux-mtd, linux-kernel
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>
---
57fa07eda198d4f8a780000f99212ca7a83be2a1 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;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-14 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 14:20 [2.6 patch] mtdram.c should #include <linux/mtd/mtdram.h> Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).