summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/spectral.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-12-20 10:22:51 +0800
committerJohn W. Linville <linville@tuxdriver.com>2014-01-03 15:36:56 -0500
commitf84d1b49c9ef9057defc47137405d1c1b87b19db (patch)
tree965193cd3870892dd3aee1fd460bb77bbf3f5a80 /drivers/net/wireless/ath/ath9k/spectral.c
parent1558efd0d48671845d2bd9ad80ba042577afd578 (diff)
downloadop-kernel-dev-f84d1b49c9ef9057defc47137405d1c1b87b19db.zip
op-kernel-dev-f84d1b49c9ef9057defc47137405d1c1b87b19db.tar.gz
ath9k: fix sparse non static symbol warning
Fixes the following sparse warning: drivers/net/wireless/ath/ath9k/spectral.c:500:24: warning: symbol 'rfs_spec_scan_cb' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/spectral.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/spectral.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/spectral.c b/drivers/net/wireless/ath/ath9k/spectral.c
index 11adb5e..99f4de9 100644
--- a/drivers/net/wireless/ath/ath9k/spectral.c
+++ b/drivers/net/wireless/ath/ath9k/spectral.c
@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
return 0;
}
-struct rchan_callbacks rfs_spec_scan_cb = {
+static struct rchan_callbacks rfs_spec_scan_cb = {
.create_buf_file = create_buf_file_handler,
.remove_buf_file = remove_buf_file_handler,
};
OpenPOWER on IntegriCloud