OSDN Git Service

staging: rtl8723au: Hal8723APhyCfg.h: Use BIT() instead of BITx
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:03:36 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:18 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/Hal8723APhyCfg.h

index 4b7f347..299598b 100644 (file)
@@ -68,13 +68,13 @@ enum RF_RADIO_PATH {
 
 enum WIRELESS_MODE {
        WIRELESS_MODE_UNKNOWN   = 0x00,
-       WIRELESS_MODE_A         = BIT2,
-       WIRELESS_MODE_B         = BIT0,
-       WIRELESS_MODE_G         = BIT1,
-       WIRELESS_MODE_AUTO      = BIT5,
-       WIRELESS_MODE_N_24G     = BIT3,
-       WIRELESS_MODE_N_5G      = BIT4,
-       WIRELESS_MODE_AC        = BIT6
+       WIRELESS_MODE_A         = BIT(2),
+       WIRELESS_MODE_B         = BIT(0),
+       WIRELESS_MODE_G         = BIT(1),
+       WIRELESS_MODE_AUTO      = BIT(5),
+       WIRELESS_MODE_N_24G     = BIT(3),
+       WIRELESS_MODE_N_5G      = BIT(4),
+       WIRELESS_MODE_AC        = BIT(6)
 };
 
 enum baseband_config_type {