Skip to contentSkip to conversation

b43: add 'struct b43_wl' missing declaration

PATCH In review Miguel Boton 3 participants 3 messages Oct 9, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43: add 'struct b43_wl' missing declaration

'struct b43_wl' declaration is missing at 'leds.h'.
It should be declared to avoid getting some GCC warnings at 'b43_leds_unregister'.

---

 drivers/net/wireless/b43/leds.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/b43/leds.h +1 -0
index 4c56187..32b66d5 100644
@@ -1,6 +1,7 @@
 #ifndef B43_LEDS_H_
 #define B43_LEDS_H_
 
+struct b43_wl;
 struct b43_wldev;
 
 #ifdef CONFIG_B43_LEDS
#1 lore raw
Quoted 4 lines · On Friday 09 October 2009 16:13:53 Miguel Boton wrote:

'struct b43_wl' declaration is missing at 'leds.h'.
It should be declared to avoid getting some GCC warnings at 'b43_leds_unregister'.

ack
(That was fast enough, eh? :D)

Quoted 20 lines

---

 drivers/net/wireless/b43/leds.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/wireless/b43/leds.h +1 -0
index 4c56187..32b66d5 100644
@@ -1,6 +1,7 @@
 #ifndef B43_LEDS_H_
 #define B43_LEDS_H_
 
+struct b43_wl;
 struct b43_wldev;
 
 #ifdef CONFIG_B43_LEDS
Signature · 1 line
Greetings, Michael.
#2 lore raw
In reply to Miguel Boton
Quoted 4 lines · Miguel Boton

'struct b43_wl' declaration is missing at 'leds.h'.
It should be declared to avoid getting some GCC warnings at 'b43_leds_unregister'.

What architecture? There must be something strange with your configuration as I see no such warnings. Please post your .CONFIG.

Larry