diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2007-11-27 15:47:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:05:04 -0500 |
commit | 2360157c413b06fe2958a051daeab7bac68f6588 (patch) | |
tree | c902030053c675dfabc76e14e0def772dc0e0202 /drivers/net/wireless/rt2x00/rt73usb.c | |
parent | a293ee990d0a3ba945eda5d0861969d0ca7ce62c (diff) |
rt2x00: Replace DRV_NAME with KBUILD_MODNAME
DRV_NAME was always set to the KBUILD_MODNAME value,
lets clean everything up by removing DRV_NAME and just
use KBUILD_MODNAME directly.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
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 4d1227aef089..49180de321e4 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, |