[kmod bluetooth] hci_usb.c has been replaced with btusb.c in 2.6.29 - modify makefile...
[openwrt.git] / package / mac80211 / patches / 301-rt2x00-Fix-Sparse-warning.patch
1 From 0a807e9fbd915d2c0cc30870403a571478a9191b Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sat, 28 Mar 2009 20:31:25 +0100
4 Subject: [PATCH 2/9] rt2x00: Fix Sparse warning
5
6 rt2x00link_reset_qual() is not declared in a header,
7 and is only internally used within rt2x00link.c.
8 It should be declared as static.
9
10 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
11 ---
12 drivers/net/wireless/rt2x00/rt2x00link.c | 2 +-
13 1 files changed, 1 insertions(+), 1 deletions(-)
14
15 --- a/drivers/net/wireless/rt2x00/rt2x00link.c
16 +++ b/drivers/net/wireless/rt2x00/rt2x00link.c
17 @@ -387,7 +387,7 @@ void rt2x00link_reset_tuner(struct rt2x0
18 rt2x00link_antenna_reset(rt2x00dev);
19 }
20
21 -void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev)
22 +static void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev)
23 {
24 struct link_qual *qual = &rt2x00dev->link.qual;
25
This page took 0.058744 seconds and 5 git commands to generate.