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: Tim Sell <Timothy.Sell@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1a2e3e3d09
commit
051e9fbbba
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue