提交 f84d1b49 编写于 作者: W Wei Yongjun 提交者: John W. Linville

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: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 1558efd0
...@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry) ...@@ -497,7 +497,7 @@ static int remove_buf_file_handler(struct dentry *dentry)
return 0; return 0;
} }
struct rchan_callbacks rfs_spec_scan_cb = { static struct rchan_callbacks rfs_spec_scan_cb = {
.create_buf_file = create_buf_file_handler, .create_buf_file = create_buf_file_handler,
.remove_buf_file = remove_buf_file_handler, .remove_buf_file = remove_buf_file_handler,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册