From: Wei Yongjun Date: Tue, 24 Dec 2013 00:54:40 +0000 (+0800) Subject: Staging: silicom: fix sparse non static symbol warnings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c246d19ab12aae69b39d0188a38da4fac066519d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/silicom/bypasslib/bypass.c b/drivers/staging/silicom/bypasslib/bypass.c index 9b771c9a15ec..09e00dac04f3 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) { }