summaryrefslogtreecommitdiff
path: root/drivers/staging/silicom
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-12-24 00:54:40 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 18:28:15 (GMT)
commitc246d19ab12aae69b39d0188a38da4fac066519d (patch)
tree01a7e10e81f82fc9a21645b9a2d613a8d195cecb /drivers/staging/silicom
parent432d1e0ca8f84763eb8e0e88ecace385a109c3bc (diff)
downloadlinux-c246d19ab12aae69b39d0188a38da4fac066519d.tar.xz
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>
Diffstat (limited to 'drivers/staging/silicom')
-rw-r--r--drivers/staging/silicom/bypasslib/bypass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/silicom/bypasslib/bypass.c b/drivers/staging/silicom/bypasslib/bypass.c
index 9b771c9..09e00da 100644
--- a/drivers/staging/silicom/bypasslib/bypass.c
+++ b/drivers/staging/silicom/bypasslib/bypass.c
@@ -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)
{
}