Re: [PATCH] b43: add 'struct b43_wl' missing declaration

From: Michael Buesch
Date: Fri Oct 09 2009 - 10:31:26 EST


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@xxxxxxxxx>

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/