diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2009-03-28 20:51:41 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 22:54:29 +0200 |
commit | a57e2e84b65d1b89c4b1effeceb27b181226b950 (patch) | |
tree | 8223905d95db5c5fdda75255029b85f44dfbdd88 /drivers/net/wireless/rt2x00 | |
parent | rt2x00: Move Move pci_dev specific access to rt2x00pci (diff) | |
download | linux-a57e2e84b65d1b89c4b1effeceb27b181226b950.tar.xz linux-a57e2e84b65d1b89c4b1effeceb27b181226b950.zip |
rt2x00: Fix Sparse warning
rt2x00link_reset_qual() is not declared in a header,
and is only internally used within rt2x00link.c.
It should be declared as static.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00link.c b/drivers/net/wireless/rt2x00/rt2x00link.c index 7eb5cd7e5f32..eb9b981b9139 100644 --- a/drivers/net/wireless/rt2x00/rt2x00link.c +++ b/drivers/net/wireless/rt2x00/rt2x00link.c @@ -387,7 +387,7 @@ void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna) rt2x00link_antenna_reset(rt2x00dev); } -void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev) +static void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev) { struct link_qual *qual = &rt2x00dev->link.qual; |