1
0
Fork 0

Staging: silicom: fix sparse non static symbol warnings

Fixes the following sparse warnings:

drivers/staging/silicom/bypasslib/bypass.c:528:12: warning: symbol 'init_lib_module' was not declared. Should it be static?
drivers/staging/silicom/bypasslib/bypass.c:534:13: warning: symbol 'cleanup_lib_module' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
wifi-calibration
Wei Yongjun 2013-12-24 08:54:40 +08:00 committed by Greg Kroah-Hartman
parent 432d1e0ca8
commit c246d19ab1
1 changed files with 2 additions and 2 deletions

View File

@ -525,13 +525,13 @@ static int get_bypass_info(int if_index, struct bp_info *bp_info)
}
EXPORT_SYMBOL(get_bypass_info);
int __init init_lib_module(void)
static int __init init_lib_module(void)
{
printk(VERSION);
return 0;
}
void __exit cleanup_lib_module(void)
static void __exit cleanup_lib_module(void)
{
}