projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51ee83d
)
[MTD] mtdram.c should #include <linux/mtd/mtdram.h>
author
Adrian Bunk
<bunk@kernel.org>
Mon, 14 Apr 2008 14:20:02 +0000
(17:20 +0300)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/devices/mtdram.c
b/drivers/mtd/devices/mtdram.c
index e427c82d5f4cb046ff4234e4ce8919062569fda3..bf485ff49457303cc3307655d266085ff23ea098 100644
(file)
--- 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;