iseries_veth: fix build breakage
authorAlexander Beregalov <a.beregalov@gmail.com>
Mon, 20 Apr 2009 01:42:58 +0000 (18:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2009 01:42:58 +0000 (18:42 -0700)
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/iseries_veth.c

index 264654da85d1ce9769e0f98eba21a5d02f4f4132..e44215cb18823ccaaf959f8ea82a3b442b6e306d 100644 (file)
@@ -1077,7 +1077,7 @@ static struct net_device *veth_probe_one(int vlan,
 
        memcpy(&port->mac_addr, mac_addr, ETH_ALEN);
 
-       dev->netdev = &veth_netdev_ops;
+       dev->netdev_ops = &veth_netdev_ops;
        SET_ETHTOOL_OPS(dev, &ops);
 
        SET_NETDEV_DEV(dev, vdev);