On Thu, Nov 11, 2010 at 9:58 AM, Wojciech Dubowik <dubowoj@xxxxxxxxxxx> wrote: > > AHB specific functions are now in ahb.c file. There is no common > init functions which tries first pci and then ahb becasue on some 'because' > --- a/drivers/net/wireless/ath/ath5k/Makefile > +++ b/drivers/net/wireless/ath/ath5k/Makefile > @@ -15,5 +15,5 @@ ath5k-y += rfkill.o > ath5k-y += ani.o > ath5k-y += sysfs.o > ath5k-$(CONFIG_ATH5K_DEBUG) += debug.o > -ath5k-y += pci.o > +ath5k-y += $(if $(CONFIG_ATHEROS_AR231X),ahb,pci).o > obj-$(CONFIG_ATH5K) += ath5k.o This is not the right way.. what if someone wants both in one kernel? -- Bob Copeland %% www.bobcopeland.com -- 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