summaryrefslogtreecommitdiffstats
path: root/fs/vfat/vfatfs_syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/vfat/vfatfs_syms.c')
-rw-r--r--fs/vfat/vfatfs_syms.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/vfat/vfatfs_syms.c b/fs/vfat/vfatfs_syms.c
index bccd300e7..d57d153ed 100644
--- a/fs/vfat/vfatfs_syms.c
+++ b/fs/vfat/vfatfs_syms.c
@@ -12,12 +12,7 @@
#include <linux/mm.h>
#include <linux/msdos_fs.h>
-struct file_system_type vfat_fs_type = {
- "vfat",
- FS_REQUIRES_DEV,
- vfat_read_super,
- NULL
-};
+DECLARE_FSTYPE_DEV(vfat_fs_type, "vfat", vfat_read_super);
EXPORT_SYMBOL(vfat_create);
EXPORT_SYMBOL(vfat_unlink);