mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
staging: lustre: make ptlrpc_init static
fix sparse warning in lustre/ptlrpc/ptlrpc_module.c:54:12:
warning: symbol 'ptlrpc_init' was not declared. Should it be static?
The __init macro is moved before the function name to match standard usage.
Signed-off-by: Matt Mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
db07a4c968
commit
9e0e332a7a
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ extern spinlock_t ptlrpc_rs_debug_lock;
|
|||
extern struct mutex pinger_mutex;
|
||||
extern struct mutex ptlrpcd_mutex;
|
||||
|
||||
__init int ptlrpc_init(void)
|
||||
static int __init ptlrpc_init(void)
|
||||
{
|
||||
int rc, cleanup_phase = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue