From: Alexander Beregalov Date: Mon, 20 Apr 2009 01:42:58 +0000 (-0700) Subject: iseries_veth: fix build breakage X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3ef8e4e9e4d18910cd03dcd481a5dced437b83cf;p=openwrt%2Fstaging%2Fblogic.git iseries_veth: fix build breakage Reported-by: Stephen Rothwell Signed-off-by: Alexander Beregalov Signed-off-by: David S. Miller --- diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 264654da85d1..e44215cb1882 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c @@ -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);