diff options
Diffstat (limited to 'drivers/net/usb/rtl8150.c')
| -rw-r--r-- | drivers/net/usb/rtl8150.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c index 6cbdac67f3a..6e87e571004 100644 --- a/drivers/net/usb/rtl8150.c +++ b/drivers/net/usb/rtl8150.c @@ -6,7 +6,6 @@   * version 2 as published by the Free Software Foundation.   */ -#include <linux/init.h>  #include <linux/signal.h>  #include <linux/slab.h>  #include <linux/module.h> @@ -879,7 +878,7 @@ static int rtl8150_probe(struct usb_interface *intf,  	dev->netdev = netdev;  	netdev->netdev_ops = &rtl8150_netdev_ops;  	netdev->watchdog_timeo = RTL8150_TX_TIMEOUT; -	SET_ETHTOOL_OPS(netdev, &ops); +	netdev->ethtool_ops = &ops;  	dev->intr_interval = 100;	/* 100ms */  	if (!alloc_all_urbs(dev)) {  | 
