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:
Wei Yongjun 2013-12-24 08:54:40 +08:00 коммит произвёл Greg Kroah-Hartman
Родитель 432d1e0ca8
Коммит c246d19ab1
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)
{
}