From: Fabian Frederick Date: Wed, 4 Jun 2014 23:12:21 +0000 (-0700) Subject: fs/autofs4/dev-ioctl.c: add __init to autofs_dev_ioctl_init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3ff6db3287e8a5e8f5bb9529b8e1259ca6b10def;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Acked-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;