summaryrefslogtreecommitdiffstats
path: root/fs/autofs4
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-05 01:12:21 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 01:54:21 +0200
commit3ff6db3287e8a5e8f5bb9529b8e1259ca6b10def (patch)
tree22cf13d33ac57716a710f38753c63ac64ead3898 /fs/autofs4
parentfs/ncpfs/getopt.c: replace simple_strtoul by kstrtoul (diff)
downloadlinux-3ff6db3287e8a5e8f5bb9529b8e1259ca6b10def.tar.xz
linux-3ff6db3287e8a5e8f5bb9529b8e1259ca6b10def.zip
fs/autofs4/dev-ioctl.c: add __init to autofs_dev_ioctl_init
autofs_dev_ioctl_init is only called by __init init_autofs4_fs Signed-off-by: Fabian Frederick <fabf@skynet.be> Acked-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/autofs4')
-rw-r--r--fs/autofs4/dev-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c
index 232e03d4780d..5b570b6efa28 100644
--- a/fs/autofs4/dev-ioctl.c
+++ b/fs/autofs4/dev-ioctl.c
@@ -737,7 +737,7 @@ MODULE_ALIAS_MISCDEV(AUTOFS_MINOR);
MODULE_ALIAS("devname:autofs");
/* Register/deregister misc character device */
-int autofs_dev_ioctl_init(void)
+int __init autofs_dev_ioctl_init(void)
{
int r;