Commit 051e9fbb authored by Tim Sell's avatar Tim Sell Committed by Greg Kroah-Hartman
Browse files

staging: unisys: visornic: use preferred interface for setting netdev's parent



Just switch this line so it uses the correct function call.

Signed-off-by: default avatarTim Sell <Timothy.Sell@unisys.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1a2e3e3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1869,7 +1869,7 @@ static int visornic_probe(struct visor_device *dev)

	netdev->netdev_ops = &visornic_dev_ops;
	netdev->watchdog_timeo = (5 * HZ);
	netdev->dev.parent = &dev->device;
	SET_NETDEV_DEV(netdev, &dev->device);

	/* Get MAC adddress from channel and read it into the device. */
	netdev->addr_len = ETH_ALEN;