Changeset 44632


Ignore:
Timestamp:
2015-03-09T15:07:14+01:00 (3 years ago)
Author:
blogic
Message:

lantiq: ltq-ptm-{ar9, ase, xway}: fix alloc_netdev for 3.18

buildbot complained about
ifxmips_ptm_adsl.c:1445:70: error: macro "alloc_netdev" requires 4 arguments, but only 3 given

g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup);


fix that similar to the change made to ltq_ptm_vdsl.c
compile tested only.

Signed-off-by: Daniel Golle <daniel@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c

    r38329 r44632  
    14431443 
    14441444    for ( i = 0; i < ARRAY_SIZE(g_net_dev); i++ ) { 
    1445         g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup); 
     1445        g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], NET_NAME_UNKNOWN, ether_setup); 
    14461446        if ( g_net_dev[i] == NULL ) 
    14471447            goto ALLOC_NETDEV_FAIL; 
Note: See TracChangeset for help on using the changeset viewer.