Skip to content

Commit

Permalink
fs/autofs4/dev-ioctl.c: add __init to autofs_dev_ioctl_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and torvalds committed Jun 4, 2014
1 parent 8091b89 commit 3ff6db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/autofs4/dev-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3ff6db3

Please sign in to comment.