summaryrefslogtreecommitdiffstats
path: root/fs/ramfs/file-mmu.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 09:58:51 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:00 +0200
commit4488c59c942bd6004fc97f0c2a7603a2f5dd80e0 (patch)
tree83da32b510c78920035f84b2cba6b3d015da839f /fs/ramfs/file-mmu.c
parentcpu: fix section mismatch warning in reference to register_cpu_notifier (diff)
downloadlinux-4488c59c942bd6004fc97f0c2a7603a2f5dd80e0.tar.xz
linux-4488c59c942bd6004fc97f0c2a7603a2f5dd80e0.zip
fs/ramfs/ extern cleanup
- internal.h shouldn't duplicate the extern declaration for ramfs_file_operations already in include/linux/ramfs.h - file-mmu.c needs two #include's for seeing the extern declarations of it's global struct's Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ramfs/file-mmu.c')
-rw-r--r--fs/ramfs/file-mmu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ramfs/file-mmu.c b/fs/ramfs/file-mmu.c
index b41a514b0976..9590b9024300 100644
--- a/fs/ramfs/file-mmu.c
+++ b/fs/ramfs/file-mmu.c
@@ -26,6 +26,9 @@
#include <linux/fs.h>
#include <linux/mm.h>
+#include <linux/ramfs.h>
+
+#include "internal.h"
const struct address_space_operations ramfs_aops = {
.readpage = simple_readpage,