ath9k: clarify what hw code is and remove ath9k.h from a few files
[linux-2.6.git] / drivers / net / wireless / ath / ath9k / Makefile
index ff2c9a26c10cc40d14804e4e1f124761ee74516f..f85dc823577467cfe8057b016cc543f7c87c6990 100644 (file)
@@ -1,19 +1,23 @@
-ath9k-y +=     hw.o \
-               eeprom.o \
+ATH9K_HW_FIX +=        eeprom.o \
+               mac.o \
+
+ATH9K_HW +=    hw.o \
                eeprom_def.o \
                eeprom_4k.o \
                eeprom_9287.o \
-               mac.o \
                calib.o \
                ani.o \
                phy.o \
+               btcoex.o
+
+ath9k-y +=     $(ATH9K_HW) \
+               $(ATH9K_HW_FIX) \
                beacon.o \
                main.o \
                recv.o \
                xmit.o \
                virtual.o \
-               rc.o \
-               btcoex.o
+               rc.o
 
 ath9k-$(CONFIG_PCI) += pci.o
 ath9k-$(CONFIG_ATHEROS_AR71XX) += ahb.o