From: Ivo van Doorn Date: Sat, 28 Mar 2009 19:51:41 +0000 (+0100) Subject: rt2x00: Fix Sparse warning X-Git-Tag: MMI-PSA29.97-13-9~27597^2~645^2~159 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a57e2e84b65d1b89c4b1effeceb27b181226b950;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: John W. Linville --- 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;