projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1558efd
)
ath9k: fix sparse non static symbol warning
author
Wei Yongjun
<
[email protected]
>
Fri, 20 Dec 2013 02:22:51 +0000
(10:22 +0800)
committer
John W. Linville
<
[email protected]
>
Fri, 3 Jan 2014 20:36:56 +0000
(15:36 -0500)
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 <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/ath/ath9k/spectral.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/spectral.c
b/drivers/net/wireless/ath/ath9k/spectral.c
index 11adb5eb51ccd701abd1165b07acad22c8c02965..99f4de95c264b0638108d58820efcb9b8390e8fc 100644
(file)
--- 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 = {
+st
atic st
ruct rchan_callbacks rfs_spec_scan_cb = {
.create_buf_file = create_buf_file_handler,
.remove_buf_file = remove_buf_file_handler,
};