aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/iseries_veth.c
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-04-19 21:42:58 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-19 21:42:58 -0400
commit3ef8e4e9e4d18910cd03dcd481a5dced437b83cf (patch)
tree0ccbe455724fd35f54b3e522363a58727543bfbe /drivers/net/iseries_veth.c
parent7fe624f5607ed98de0034adf130e857474dffc2b (diff)
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/iseries_veth.c')
-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,
1077 1077
1078 memcpy(&port->mac_addr, mac_addr, ETH_ALEN); 1078 memcpy(&port->mac_addr, mac_addr, ETH_ALEN);
1079 1079
1080 dev->netdev = &veth_netdev_ops; 1080 dev->netdev_ops = &veth_netdev_ops;
1081 SET_ETHTOOL_OPS(dev, &ops); 1081 SET_ETHTOOL_OPS(dev, &ops);
1082 1082
1083 SET_NETDEV_DEV(dev, vdev); 1083 SET_NETDEV_DEV(dev, vdev);