Ignore:
Timestamp:
2010-03-15T10:32:17+01:00 (6 years ago)
Author:
juhosg
Message:

orion: drop DECLARE_MAC_BUF usage from the DT2 support file

  • fixes build error on 2.6.33
  • closes #6863
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/orion/files/arch/arm/mach-orion5x/dt2-setup.c

    r16950 r20226  
    295295static void __init dt2_init(void) 
    296296{ 
    297         DECLARE_MAC_BUF(mac_buf); 
    298297        /* 
    299298         * Setup basic Orion functions. Need to be called early. 
     
    319318        printk(KERN_INFO "Serial: %s\n", dt2_eeprom.fc.dt2_serial_number); 
    320319        printk(KERN_INFO "Revision: %016x\n", dt2_eeprom.fc.dt2_revision); 
    321         printk(KERN_INFO "DT2: Using MAC address %s for port 0\n", 
    322                print_mac(mac_buf, dt2_eeprom.gw.mac_addr[0])); 
    323         printk(KERN_INFO "DT2: Using MAC address %s for port 1\n", 
    324                print_mac(mac_buf, dt2_eeprom.gw.mac_addr[1])); 
     320        printk(KERN_INFO "DT2: Using MAC address %pM for port 0\n", 
     321               dt2_eeprom.gw.mac_addr[0]); 
     322        printk(KERN_INFO "DT2: Using MAC address %pM for port 1\n", 
     323               dt2_eeprom.gw.mac_addr[1]); 
    325324 
    326325        orion5x_eth_init(&dt2_eth_data); 
Note: See TracChangeset for help on using the changeset viewer.