summaryrefslogtreecommitdiffstats
path: root/fs/adfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/adfs/file.c')
-rw-r--r--fs/adfs/file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/adfs/file.c b/fs/adfs/file.c
index afebbfde6968..1014b9f2117b 100644
--- a/fs/adfs/file.c
+++ b/fs/adfs/file.c
@@ -19,17 +19,13 @@
*
* adfs regular file handling primitives
*/
-#include <linux/errno.h>
#include <linux/fs.h>
-#include <linux/fcntl.h>
-#include <linux/time.h>
-#include <linux/stat.h>
#include <linux/buffer_head.h> /* for file_fsync() */
#include <linux/adfs_fs.h>
#include "adfs.h"
-struct file_operations adfs_file_operations = {
+const struct file_operations adfs_file_operations = {
.llseek = generic_file_llseek,
.read = generic_file_read,
.mmap = generic_file_mmap,