staging: rtl8821ae: add static for local symbols in rtl_btc.c
authorKonrad Zapalowicz <bergo.torino@gmail.com>
Sat, 24 May 2014 15:23:12 +0000 (17:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 18:11:18 +0000 (11:11 -0700)
This commit fixes the sparse warning:

    "warning: symbol 'X' was not declared. Should it be static?"

Where the X is one of the following

    rtl_btc_operation

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/btcoexist/rtl_btc.c

index 6653f147757ca996a064c348ecbf6506f40f9431..6be0acafba5dad32bc70f5e160a9ec23f0904053 100644 (file)
@@ -32,7 +32,7 @@
 #include "rtl_btc.h"
 #include "halbt_precomp.h"
 
-struct rtl_btc_ops rtl_btc_operation ={
+static struct rtl_btc_ops rtl_btc_operation = {
        .btc_init_variables = rtl_btc_init_variables,
        .btc_init_hal_vars = rtl_btc_init_hal_vars,
        .btc_init_hw_config = rtl_btc_init_hw_config,