From: Wei Yongjun Date: Fri, 20 Dec 2013 02:22:51 +0000 (+0800) Subject: ath9k: fix sparse non static symbol warning X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~3^2^2~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f84d1b49c9ef9057defc47137405d1c1b87b19db;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: John W. Linville --- 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, };