On Sat, Dec 10, 2011 at 10:00:49PM +0100, Felix Fietkau wrote: > Many systems (e.g. embedded systems) do not have wifi modules connected to > bluetooth modules, so bluetooth coexistence is irrelevant there. With the > addition of MCI support, ath9k picked up quite a bit of extra code that > can be compiled out this way. > > This patch redefines ATH9K_HW_CAP_MCI and adds an inline wrapper for > querying the bluetooth coexistence scheme, allowing the compiler to > eliminate code that uses it, with only very little use of #ifdef. > > On MIPS this reduces the total size for the modules by about 20k. > > Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> CC [M] drivers/net/wireless/ath/ath9k/beacon.o In file included from drivers/net/wireless/ath/ath9k/hw.h:30:0, from drivers/net/wireless/ath/ath9k/debug.h:20, from drivers/net/wireless/ath/ath9k/ath9k.h:26, from drivers/net/wireless/ath/ath9k/beacon.c:18: drivers/net/wireless/ath/ath9k/btcoex.h: In function ‘ath9k_hw_get_btcoex_scheme’: drivers/net/wireless/ath/ath9k/btcoex.h:105:11: error: dereferencing pointer to incomplete type Did I miss a patch? -- John W. Linville Someday the world will need a hero, and you linville@xxxxxxxxxxxxx might be all we have. Be ready. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html