Changeset 13496


Ignore:
Timestamp:
2008-12-03T09:55:39+01:00 (7 years ago)
Author:
juhosg
Message:

[ar71xx] ag71xx driver: minor cleanup

File:
1 edited

Legend:

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

    r13201 r13496  
    160160        am->mii_bus.reset = ag71xx_mdio_reset; 
    161161        am->mii_bus.irq = am->mii_irq; 
    162 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)) 
    163         am->mii_bus.id = 0; 
    164 #else 
    165         snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0); 
    166 #endif 
    167162        am->mii_bus.priv = am; 
    168163        am->mii_bus.dev = &pdev->dev; 
     164        snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0); 
    169165 
    170166        pdata = pdev->dev.platform_data; 
Note: See TracChangeset for help on using the changeset viewer.