diff options
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index ca3f8961fa27..ee82df62e646 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -29,7 +29,6 @@ | |||
29 | 29 | ||
30 | #include <linux/delay.h> | 30 | #include <linux/delay.h> |
31 | #include <linux/types.h> | 31 | #include <linux/types.h> |
32 | #include <linux/ethtool.h> | ||
33 | #include <linux/init.h> | 32 | #include <linux/init.h> |
34 | #include <linux/interrupt.h> | 33 | #include <linux/interrupt.h> |
35 | #include <linux/in.h> | 34 | #include <linux/in.h> |
@@ -1403,15 +1402,6 @@ static struct iw_statistics *wl3501_get_wireless_stats(struct net_device *dev) | |||
1403 | return wstats; | 1402 | return wstats; |
1404 | } | 1403 | } |
1405 | 1404 | ||
1406 | static void wl3501_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | ||
1407 | { | ||
1408 | strlcpy(info->driver, "wl3501_cs", sizeof(info->driver)); | ||
1409 | } | ||
1410 | |||
1411 | static const struct ethtool_ops ops = { | ||
1412 | .get_drvinfo = wl3501_get_drvinfo | ||
1413 | }; | ||
1414 | |||
1415 | /** | 1405 | /** |
1416 | * wl3501_detach - deletes a driver "instance" | 1406 | * wl3501_detach - deletes a driver "instance" |
1417 | * @link - FILL_IN | 1407 | * @link - FILL_IN |
@@ -1887,7 +1877,6 @@ static int wl3501_probe(struct pcmcia_device *p_dev) | |||
1887 | this->p_dev = p_dev; | 1877 | this->p_dev = p_dev; |
1888 | dev->wireless_data = &this->wireless_data; | 1878 | dev->wireless_data = &this->wireless_data; |
1889 | dev->wireless_handlers = &wl3501_handler_def; | 1879 | dev->wireless_handlers = &wl3501_handler_def; |
1890 | SET_ETHTOOL_OPS(dev, &ops); | ||
1891 | netif_stop_queue(dev); | 1880 | netif_stop_queue(dev); |
1892 | p_dev->priv = dev; | 1881 | p_dev->priv = dev; |
1893 | 1882 | ||