diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-10 13:01:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-11 15:47:41 -0700 |
commit | 0c1eafdb063a3701eff24d21eb245e3b1d4ac7df (patch) | |
tree | 40a9fdc947697d0b9a141d5082452a154644a36e | |
parent | 42fd552e8647316757ded0176466c41d17934dcf (diff) | |
download | op-kernel-dev-0c1eafdb063a3701eff24d21eb245e3b1d4ac7df.zip op-kernel-dev-0c1eafdb063a3701eff24d21eb245e3b1d4ac7df.tar.gz |
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 <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/mtd/mtdchar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 8c86b80..d091b24 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c @@ -7,6 +7,7 @@ #include <linux/device.h> #include <linux/fs.h> +#include <linux/mm.h> #include <linux/err.h> #include <linux/init.h> #include <linux/kernel.h> |