diff options
-rw-r--r-- | drivers/usb/net/zd1201.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/net/zd1201.c b/drivers/usb/net/zd1201.c index 2af21a620c07..f3a8e2807c3b 100644 --- a/drivers/usb/net/zd1201.c +++ b/drivers/usb/net/zd1201.c | |||
@@ -1829,6 +1829,8 @@ static int zd1201_probe(struct usb_interface *interface, | |||
1829 | if (err) | 1829 | if (err) |
1830 | goto err_net; | 1830 | goto err_net; |
1831 | 1831 | ||
1832 | SET_NETDEV_DEV(zd->dev, &usb->dev); | ||
1833 | |||
1832 | err = register_netdev(zd->dev); | 1834 | err = register_netdev(zd->dev); |
1833 | if (err) | 1835 | if (err) |
1834 | goto err_net; | 1836 | goto err_net; |