summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs3super.c')
-rw-r--r--fs/nfs/nfs3super.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/nfs/nfs3super.c b/fs/nfs/nfs3super.c
index 8378090b8104..cc471c725230 100644
--- a/fs/nfs/nfs3super.c
+++ b/fs/nfs/nfs3super.c
@@ -14,13 +14,18 @@ static struct nfs_subversion nfs_v3 = {
.sops = &nfs_sops,
};
-int __init init_nfs_v3(void)
+static int __init init_nfs_v3(void)
{
register_nfs_version(&nfs_v3);
return 0;
}
-void exit_nfs_v3(void)
+static void __exit exit_nfs_v3(void)
{
unregister_nfs_version(&nfs_v3);
}
+
+MODULE_LICENSE("GPL");
+
+module_init(init_nfs_v3);
+module_exit(exit_nfs_v3);