staging: rtl8723au: hal_intf.h: Be consistent and use BIT() instead of BITx
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
750c8434fe
commit
f709b1824e
|
@ -19,10 +19,10 @@
|
||||||
#include <drv_types.h>
|
#include <drv_types.h>
|
||||||
|
|
||||||
enum RTL871X_HCI_TYPE {
|
enum RTL871X_HCI_TYPE {
|
||||||
RTW_PCIE = BIT0,
|
RTW_PCIE = BIT(0),
|
||||||
RTW_USB = BIT1,
|
RTW_USB = BIT(1),
|
||||||
RTW_SDIO = BIT2,
|
RTW_SDIO = BIT(2),
|
||||||
RTW_GSPI = BIT3,
|
RTW_GSPI = BIT(3),
|
||||||
};
|
};
|
||||||
|
|
||||||
enum _CHIP_TYPE {
|
enum _CHIP_TYPE {
|
||||||
|
@ -168,10 +168,10 @@ enum rt_eeprom_type {
|
||||||
|
|
||||||
|
|
||||||
#define RF_CHANGE_BY_INIT 0
|
#define RF_CHANGE_BY_INIT 0
|
||||||
#define RF_CHANGE_BY_IPS BIT28
|
#define RF_CHANGE_BY_IPS BIT(28)
|
||||||
#define RF_CHANGE_BY_PS BIT29
|
#define RF_CHANGE_BY_PS BIT(29)
|
||||||
#define RF_CHANGE_BY_HW BIT30
|
#define RF_CHANGE_BY_HW BIT(30)
|
||||||
#define RF_CHANGE_BY_SW BIT31
|
#define RF_CHANGE_BY_SW BIT(31)
|
||||||
|
|
||||||
enum hardware_type {
|
enum hardware_type {
|
||||||
HARDWARE_TYPE_RTL8180,
|
HARDWARE_TYPE_RTL8180,
|
||||||
|
|
Loading…
Reference in a new issue