kernel/utsname_sysctl.c: replace obsolete __initcall by device_initcall

Also fixes checkpatch warnings on proc_dostring function parameters

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Fabian Frederick 2014-06-04 16:11:26 -07:00 committed by Linus Torvalds
parent 616feab753
commit 95583e4ab5
1 changed files with 2 additions and 2 deletions

View File

@ -135,4 +135,4 @@ static int __init utsname_sysctl_init(void)
return 0;
}
__initcall(utsname_sysctl_init);
device_initcall(utsname_sysctl_init);