staging: rtl8723au: odm_debug.h: Use BIT() instead of BITx
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:03:40 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:19 +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/odm_debug.h

index 5bc51d09e52fc027d965a7d2afe0bcfd785892b9..4d935a33ccb312715cca3624a99812b738c15e04 100644 (file)
 /*  */
 /*  */
 /* BB Functions */
-#define ODM_COMP_DIG                           BIT0
-#define ODM_COMP_RA_MASK                       BIT1
-#define ODM_COMP_DYNAMIC_TXPWR                 BIT2
-#define ODM_COMP_FA_CNT                                BIT3
-#define ODM_COMP_RSSI_MONITOR                  BIT4
-#define ODM_COMP_CCK_PD                                BIT5
-#define ODM_COMP_ANT_DIV                       BIT6
-#define ODM_COMP_PWR_SAVE                      BIT7
-#define ODM_COMP_PWR_TRAIN                     BIT8
-#define ODM_COMP_RATE_ADAPTIVE                 BIT9
-#define ODM_COMP_PATH_DIV                      BIT10
-#define ODM_COMP_PSD                           BIT11
-#define ODM_COMP_DYNAMIC_PRICCA                        BIT12
-#define ODM_COMP_RXHP                          BIT13
+#define ODM_COMP_DIG                           BIT(0)
+#define ODM_COMP_RA_MASK                       BIT(1)
+#define ODM_COMP_DYNAMIC_TXPWR                 BIT(2)
+#define ODM_COMP_FA_CNT                                BIT(3)
+#define ODM_COMP_RSSI_MONITOR                  BIT(4)
+#define ODM_COMP_CCK_PD                                BIT(5)
+#define ODM_COMP_ANT_DIV                       BIT(6)
+#define ODM_COMP_PWR_SAVE                      BIT(7)
+#define ODM_COMP_PWR_TRAIN                     BIT(8)
+#define ODM_COMP_RATE_ADAPTIVE                 BIT(9)
+#define ODM_COMP_PATH_DIV                      BIT(10)
+#define ODM_COMP_PSD                           BIT(11)
+#define ODM_COMP_DYNAMIC_PRICCA                        BIT(12)
+#define ODM_COMP_RXHP                          BIT(13)
 /* MAC Functions */
-#define ODM_COMP_EDCA_TURBO                    BIT16
-#define ODM_COMP_EARLY_MODE                    BIT17
+#define ODM_COMP_EDCA_TURBO                    BIT(16)
+#define ODM_COMP_EARLY_MODE                    BIT(17)
 /* RF Functions */
-#define ODM_COMP_TX_PWR_TRACK                  BIT24
-#define ODM_COMP_RX_GAIN_TRACK                 BIT25
-#define ODM_COMP_CALIBRATION                   BIT26
+#define ODM_COMP_TX_PWR_TRACK                  BIT(24)
+#define ODM_COMP_RX_GAIN_TRACK                 BIT(25)
+#define ODM_COMP_CALIBRATION                   BIT(26)
 /* Common Functions */
-#define ODM_COMP_COMMON                                BIT30
-#define ODM_COMP_INIT                          BIT31
+#define ODM_COMP_COMMON                                BIT(30)
+#define ODM_COMP_INIT                          BIT(31)
 
 /*------------------------Export Macro Definition---------------------------*/
        #define DbgPrint        printk