diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-19 21:22:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-03 15:36:56 -0500 |
commit | f84d1b49c9ef9057defc47137405d1c1b87b19db (patch) | |
tree | 965193cd3870892dd3aee1fd460bb77bbf3f5a80 /drivers/net | |
parent | 1558efd0d48671845d2bd9ad80ba042577afd578 (diff) |
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')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/spectral.c | 2 |
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 11adb5eb51cc..99f4de95c264 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) | |||
497 | return 0; | 497 | return 0; |
498 | } | 498 | } |
499 | 499 | ||
500 | struct rchan_callbacks rfs_spec_scan_cb = { | 500 | static struct rchan_callbacks rfs_spec_scan_cb = { |
501 | .create_buf_file = create_buf_file_handler, | 501 | .create_buf_file = create_buf_file_handler, |
502 | .remove_buf_file = remove_buf_file_handler, | 502 | .remove_buf_file = remove_buf_file_handler, |
503 | }; | 503 | }; |