Changeset 29539


Ignore:
Timestamp:
2011-12-15T14:25:20+01:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: ag71xx: nuke ar7240sw_init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_ar7240.c

    r29017 r29539  
    220220static DEFINE_MUTEX(reg_mutex); 
    221221 
    222 static inline void ar7240sw_init(struct ar7240sw *as, struct mii_bus *mii) 
    223 { 
    224         as->mii_bus = mii; 
    225 } 
    226  
    227222static inline u16 mk_phy_addr(u32 reg) 
    228223{ 
     
    850845                return NULL; 
    851846 
    852         ar7240sw_init(as, mii); 
     847        as->mii_bus = mii; 
    853848 
    854849        ctrl = ar7240sw_reg_read(mii, AR7240_REG_MASK_CTRL); 
Note: See TracChangeset for help on using the changeset viewer.