summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-04-20 03:42:58 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-20 03:42:58 +0200
commit3ef8e4e9e4d18910cd03dcd481a5dced437b83cf (patch)
tree0ccbe455724fd35f54b3e522363a58727543bfbe /drivers/net
parentmyri10ge: fix compile error (diff)
downloadlinux-3ef8e4e9e4d18910cd03dcd481a5dced437b83cf.tar.xz
linux-3ef8e4e9e4d18910cd03dcd481a5dced437b83cf.zip
iseries_veth: fix build breakage
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/iseries_veth.c2
1 files changed, 1 insertions, 1 deletions
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);