rt2x00: Fix Sparse warning
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 28 Mar 2009 19:51:41 +0000 (20:51 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:29 +0000 (16:54 -0400)
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>
drivers/net/wireless/rt2x00/rt2x00link.c

index 7eb5cd7e5f32424ea97474b57e009374a212da29..eb9b981b9139f2ff976a47095a2a7202d8ab2aa5 100644 (file)
@@ -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;