linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] b43: add 'struct b43_wl' missing declaration
@ 2009-10-09 14:13 Miguel Boton
  2009-10-09 14:29 ` Michael Buesch
  2009-10-09 14:34 ` Larry Finger
  0 siblings, 2 replies; 3+ messages in thread
From: Miguel Boton @ 2009-10-09 14:13 UTC (permalink / raw)
  To: linux-wireless; +Cc: linux-kernel, mb, linville, bcm43xx-dev

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

Signed-off-by: Miguel Botón <mboton@gmail.com>

---

 drivers/net/wireless/b43/leds.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/b43/leds.h b/drivers/net/wireless/b43/leds.h
index 4c56187..32b66d5 100644
--- a/drivers/net/wireless/b43/leds.h
+++ b/drivers/net/wireless/b43/leds.h
@@ -1,6 +1,7 @@
 #ifndef B43_LEDS_H_
 #define B43_LEDS_H_
 
+struct b43_wl;
 struct b43_wldev;
 
 #ifdef CONFIG_B43_LEDS

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] b43: add 'struct b43_wl' missing declaration
  2009-10-09 14:13 [PATCH] b43: add 'struct b43_wl' missing declaration Miguel Boton
@ 2009-10-09 14:29 ` Michael Buesch
  2009-10-09 14:34 ` Larry Finger
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Buesch @ 2009-10-09 14:29 UTC (permalink / raw)
  To: Miguel Boton; +Cc: linux-wireless, linux-kernel, linville, bcm43xx-dev

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'.
> 
> Signed-off-by: Miguel Botón <mboton@gmail.com>

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

> 
> ---
> 
>  drivers/net/wireless/b43/leds.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/wireless/b43/leds.h b/drivers/net/wireless/b43/leds.h
> index 4c56187..32b66d5 100644
> --- a/drivers/net/wireless/b43/leds.h
> +++ b/drivers/net/wireless/b43/leds.h
> @@ -1,6 +1,7 @@
>  #ifndef B43_LEDS_H_
>  #define B43_LEDS_H_
>  
> +struct b43_wl;
>  struct b43_wldev;
>  
>  #ifdef CONFIG_B43_LEDS
> 
> 



-- 
Greetings, Michael.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] b43: add 'struct b43_wl' missing declaration
  2009-10-09 14:13 [PATCH] b43: add 'struct b43_wl' missing declaration Miguel Boton
  2009-10-09 14:29 ` Michael Buesch
@ 2009-10-09 14:34 ` Larry Finger
  1 sibling, 0 replies; 3+ messages in thread
From: Larry Finger @ 2009-10-09 14:34 UTC (permalink / raw)
  To: Miguel Boton; +Cc: linux-wireless, linux-kernel, mb, linville, bcm43xx-dev

On 10/09/2009 09:13 AM, 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'.
> 
> Signed-off-by: Miguel Botón <mboton@gmail.com>

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

Larry


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-09 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 14:13 [PATCH] b43: add 'struct b43_wl' missing declaration Miguel Boton
2009-10-09 14:29 ` Michael Buesch
2009-10-09 14:34 ` Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).