diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index 4d1227aef08..49180de321e 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -24,11 +24,6 @@ | |||
24 | Supported chipsets: rt2571W & rt2671. | 24 | Supported chipsets: rt2571W & rt2671. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* | ||
28 | * Set enviroment defines for rt2x00.h | ||
29 | */ | ||
30 | #define DRV_NAME "rt73usb" | ||
31 | |||
32 | #include <linux/delay.h> | 27 | #include <linux/delay.h> |
33 | #include <linux/etherdevice.h> | 28 | #include <linux/etherdevice.h> |
34 | #include <linux/init.h> | 29 | #include <linux/init.h> |
@@ -2046,7 +2041,7 @@ static const struct rt2x00lib_ops rt73usb_rt2x00_ops = { | |||
2046 | }; | 2041 | }; |
2047 | 2042 | ||
2048 | static const struct rt2x00_ops rt73usb_ops = { | 2043 | static const struct rt2x00_ops rt73usb_ops = { |
2049 | .name = DRV_NAME, | 2044 | .name = KBUILD_MODNAME, |
2050 | .rxd_size = RXD_DESC_SIZE, | 2045 | .rxd_size = RXD_DESC_SIZE, |
2051 | .txd_size = TXD_DESC_SIZE, | 2046 | .txd_size = TXD_DESC_SIZE, |
2052 | .eeprom_size = EEPROM_SIZE, | 2047 | .eeprom_size = EEPROM_SIZE, |
@@ -2133,7 +2128,7 @@ MODULE_FIRMWARE(FIRMWARE_RT2571); | |||
2133 | MODULE_LICENSE("GPL"); | 2128 | MODULE_LICENSE("GPL"); |
2134 | 2129 | ||
2135 | static struct usb_driver rt73usb_driver = { | 2130 | static struct usb_driver rt73usb_driver = { |
2136 | .name = DRV_NAME, | 2131 | .name = KBUILD_MODNAME, |
2137 | .id_table = rt73usb_device_table, | 2132 | .id_table = rt73usb_device_table, |
2138 | .probe = rt2x00usb_probe, | 2133 | .probe = rt2x00usb_probe, |
2139 | .disconnect = rt2x00usb_disconnect, | 2134 | .disconnect = rt2x00usb_disconnect, |