From: Konrad Zapalowicz Date: Sat, 24 May 2014 15:23:12 +0000 (+0200) Subject: staging: rtl8821ae: add static for local symbols in rtl_btc.c X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=83991567b15ac0fac45f515dbc128a792d83e562;p=deliverable%2Flinux.git staging: rtl8821ae: add static for local symbols in rtl_btc.c 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8821ae/btcoexist/rtl_btc.c b/drivers/staging/rtl8821ae/btcoexist/rtl_btc.c index 6653f147757c..6be0acafba5d 100644 --- a/drivers/staging/rtl8821ae/btcoexist/rtl_btc.c +++ b/drivers/staging/rtl8821ae/btcoexist/rtl_btc.c @@ -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,