iseries_veth: fix build breakage
Alexander Beregalov [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 264654d..e44215c 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);