mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
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>
This commit is contained in:
parent
7fe624f560
commit
3ef8e4e9e4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user