Skip to content

Commit

Permalink
ipc: use device_initcall
Browse files Browse the repository at this point in the history
... since __initcall is now deprecated.

Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
Davidlohr Bueso authored and hnaz committed Mar 22, 2014
1 parent 03120c4 commit 24ee854
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ipc/ipc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,4 @@ static int __init ipc_sysctl_init(void)
return 0;
}

__initcall(ipc_sysctl_init);
device_initcall(ipc_sysctl_init);
2 changes: 1 addition & 1 deletion ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -1459,4 +1459,4 @@ static int __init init_mqueue_fs(void)
return error;
}

__initcall(init_mqueue_fs);
device_initcall(init_mqueue_fs);
2 changes: 1 addition & 1 deletion ipc/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24ee854

Please sign in to comment.