From: Andrew Morton Date: Fri, 10 Aug 2007 20:01:06 +0000 (-0700) Subject: mtdchar build fix X-Git-Tag: MMI-PSA29.97-13-9~40811 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c1eafdb063a3701eff24d21eb245e3b1d4ac7df;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git mtdchar build fix sh: drivers/mtd/mtdchar.c: In function `mtd_mmap': drivers/mtd/mtdchar.c:817: error: dereferencing pointer to incomplete type drivers/mtd/mtdchar.c:817: error: `VM_SHARED' undeclared (first use in this function) drivers/mtd/mtdchar.c:817: error: (Each undeclared identifier is reported only once Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 8c86b802f212..d091b2430b48 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c @@ -7,6 +7,7 @@ #include #include +#include #include #include #include