summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8821ae
diff options
context:
space:
mode:
authorKonrad Zapalowicz <bergo.torino@gmail.com>2014-05-24 17:23:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-25 11:11:18 -0700
commit83991567b15ac0fac45f515dbc128a792d83e562 (patch)
tree2c10a4c4e894d21ae2e1db31b3fd7cd52721bd3a /drivers/staging/rtl8821ae
parent45475dc312d586744baabf8c5a330878faaf55ba (diff)
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 <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8821ae')
-rw-r--r--drivers/staging/rtl8821ae/btcoexist/rtl_btc.c2
1 files changed, 1 insertions, 1 deletions
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,