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 4d3c536..c1dd857 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 ad6d938..9847af7 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 */