]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath,ar9170: move CTL_ defines into regd.h
authorJoerg Albert <jal2@gmx.de>
Sat, 5 Sep 2009 14:07:43 +0000 (16:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Sep 2009 20:31:09 +0000 (16:31 -0400)
The ar9170 driver needs the defines for conformance test limit groups
and cannot include regd_common.h

Signed-off-by: Joerg Albert <jal2@gmx.de>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/regd.h
drivers/net/wireless/ath/regd_common.h

index 4d3c53674e5ae94a71d6a8b686266149a59b8035..c1dd857697a7f6bd75599f3e7dd02c024e780564 100644 (file)
 
 #include "ath.h"
 
+enum ctl_group {
+       CTL_FCC = 0x10,
+       CTL_MKK = 0x40,
+       CTL_ETSI = 0x30,
+};
+
 #define NO_CTL 0xff
 #define SD_NO_CTL               0xE0
 #define NO_CTL                  0xff
index ad6d938d3cf61682d808d684fe119432e03fbfcb..9847af72208ca6100c03c5a0bdde0eaefcaf0028 100644 (file)
@@ -154,12 +154,6 @@ enum EnumRd {
        DEBUG_REG_DMN = 0x01ff,
 };
 
-enum ctl_group {
-       CTL_FCC = 0x10,
-       CTL_MKK = 0x40,
-       CTL_ETSI = 0x30,
-};
-
 /* Regpair to CTL band mapping */
 static struct reg_dmn_pair_mapping regDomainPairs[] = {
        /* regpair, 5 GHz CTL, 2 GHz CTL */