mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
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>
This commit is contained in:
parent
45475dc312
commit
83991567b1
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user