From: Adrian Bunk <bunk@kernel.org> Date: Mon, 14 Apr 2008 14:20:02 +0000 (+0300) Subject: [MTD] mtdram.c should #include <linux/mtd/mtdram.h> X-Git-Tag: firefly_0821_release~21546^2~49 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=456d9fc92eb8635d53e8facc57764464b8759173;p=firefly-linux-kernel-4.4.55.git [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> --- diff --git a/drivers/mtd/devices/mtdram.c b/drivers/mtd/devices/mtdram.c index e427c82d5f4c..bf485ff49457 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;