浏览代码

[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@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Adrian Bunk 17 年之前
父节点
当前提交
456d9fc92e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mtd/devices/mtdram.c

+ 1 - 0
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;