mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
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>
This commit is contained in:
parent
f7b16c108f
commit
4488c59c94
2 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -11,5 +11,4 @@
|
|||
|
||||
|
||||
extern const struct address_space_operations ramfs_aops;
|
||||
extern const struct file_operations ramfs_file_operations;
|
||||
extern const struct inode_operations ramfs_file_inode_operations;
|
||||
|
|
Loading…
Reference in a new issue