Ignore:
Timestamp:
2011-11-12T13:09:42+01:00 (4 years ago)
Author:
juhosg
Message:

ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa

File:
1 edited

Legend:

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

    r28701 r28981  
    1111#include <linux/mtd/mtd.h> 
    1212#include <linux/mtd/partitions.h> 
     13#include <linux/platform_device.h> 
    1314 
    1415#include <asm/mach-ar71xx/ar71xx.h> 
     
    126127 
    127128        ar71xx_add_device_eth(0); 
    128  
    129         ar71xx_add_device_dsa(0, &tl_wr841n_v1_dsa_data); 
     129        ar71xx_add_device_dsa(&ar71xx_eth0_device.dev, &ar71xx_mdio_device.dev, 
     130                              &tl_wr841n_v1_dsa_data); 
    130131 
    131132        ar71xx_add_device_m25p80(&tl_wr841n_v1_flash_data); 
Note: See TracChangeset for help on using the changeset viewer.