Changeset 26889


Ignore:
Timestamp:
2011-05-15T01:08:00+02:00 (7 years ago)
Author:
matteo
Message:

ar71xx: cosmetic fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-ubnt.c

    r26859 r26889  
    146146} 
    147147 
    148 #define UBNT_RS_WAN_PHYMASK     (1 << 20) 
    149 #define UBNT_RS_LAN_PHYMASK     ((1 << 16) | (1 << 17) | (1 << 18) | (1 << 19)) 
     148#define UBNT_RS_WAN_PHYMASK     BIT(20) 
     149#define UBNT_RS_LAN_PHYMASK     (BIT(16) | BIT(17) | BIT(18) | BIT(19)) 
    150150 
    151151static void __init ubnt_rs_setup(void) 
     
    176176             ubnt_rs_setup); 
    177177 
    178 #define UBNT_RSPRO_WAN_PHYMASK  (1 << 4) 
    179 #define UBNT_RSPRO_LAN_PHYMASK  ((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3)) 
     178#define UBNT_RSPRO_WAN_PHYMASK  BIT(4) 
     179#define UBNT_RSPRO_LAN_PHYMASK  (BIT(0) | BIT(1) | BIT(2) | BIT(3)) 
    180180 
    181181static void __init ubnt_rspro_setup(void) 
     
    215215MIPS_MACHINE(AR71XX_MACH_UBNT_LSX, "UBNT-LSX", "Ubiquiti LSX", ubnt_lsx_setup); 
    216216 
    217 #define UBNT_LSSR71_PHY_MASK    (1 << 1) 
     217#define UBNT_LSSR71_PHY_MASK    BIT(1) 
    218218 
    219219static void __init ubnt_lssr71_setup(void) 
Note: See TracChangeset for help on using the changeset viewer.