summaryrefslogtreecommitdiffstats
path: root/fs/autofs/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/autofs/init.c')
-rw-r--r--fs/autofs/init.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/autofs/init.c b/fs/autofs/init.c
index 4c9e8fe76..0aaa8134a 100644
--- a/fs/autofs/init.c
+++ b/fs/autofs/init.c
@@ -14,12 +14,7 @@
#include <linux/init.h>
#include "autofs_i.h"
-static struct file_system_type autofs_fs_type = {
- "autofs",
- 0,
- autofs_read_super,
- NULL
-};
+static DECLARE_FSTYPE(autofs_fs_type, "autofs", autofs_read_super, 0);
static int __init init_autofs_fs(void)
{