2009-10-23 05:03:56

by Albert Herranz

[permalink] [raw]
Subject: b43: add 'struct b43_wl' missing declaration

Hi,

The patch "b43: add 'struct b43_wl' missing declaration" [1], which was already acked by Michael, is still needed to fix a bunch of the following GCC warnings when CONFIG_B43_LEDS is not selected:

drivers/net/wireless/b43/leds.h:79: warning: 'struct b43_wl' declared inside parameter list
drivers/net/wireless/b43/leds.h:79: warning: its scope is only this definition or declaration, which is probably not what you want

The warnings were introduced by commit "b43: Don't use struct wldev after detach." [2].

Thanks,
Albert

[1] http://marc.info/?l=linux-kernel&m=125509895406307

[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=727c988593271599c9e5943699426afcce1a62d6;hp=a4d63a943735efa30270ce70716d43323fd40f02