Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f84d1b49 authored by Wei Yongjun's avatar Wei Yongjun Committed by John W. Linville
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1558efd0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,
};
};