ipc: use device_initcall

... since __initcall is now deprecated.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Davidlohr Bueso 2014-04-07 15:39:18 -07:00 committed by Linus Torvalds
parent 187841a800
commit 6d08a2567c
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -1459,4 +1459,4 @@ static int __init init_mqueue_fs(void)
return error;
}
__initcall(init_mqueue_fs);
device_initcall(init_mqueue_fs);

View File

@ -128,7 +128,7 @@ static int __init ipc_init(void)
register_ipcns_notifier(&init_ipc_ns);
return 0;
}
__initcall(ipc_init);
device_initcall(ipc_init);
/**
* ipc_init_ids - initialise ipc identifiers