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>
This commit is contained in:
Родитель
432d1e0ca8
Коммит
c246d19ab1
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче