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/rt61pci.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/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 40e516b70fed..52622d32ea4c 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -24,11 +24,6 @@ | |||
24 | Supported chipsets: RT2561, RT2561s, RT2661. | 24 | Supported chipsets: RT2561, RT2561s, RT2661. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* | ||
28 | * Set enviroment defines for rt2x00.h | ||
29 | */ | ||
30 | #define DRV_NAME "rt61pci" | ||
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> |
@@ -2497,7 +2492,7 @@ static const struct rt2x00lib_ops rt61pci_rt2x00_ops = { | |||
2497 | }; | 2492 | }; |
2498 | 2493 | ||
2499 | static const struct rt2x00_ops rt61pci_ops = { | 2494 | static const struct rt2x00_ops rt61pci_ops = { |
2500 | .name = DRV_NAME, | 2495 | .name = KBUILD_MODNAME, |
2501 | .rxd_size = RXD_DESC_SIZE, | 2496 | .rxd_size = RXD_DESC_SIZE, |
2502 | .txd_size = TXD_DESC_SIZE, | 2497 | .txd_size = TXD_DESC_SIZE, |
2503 | .eeprom_size = EEPROM_SIZE, | 2498 | .eeprom_size = EEPROM_SIZE, |
@@ -2534,7 +2529,7 @@ MODULE_FIRMWARE(FIRMWARE_RT2661); | |||
2534 | MODULE_LICENSE("GPL"); | 2529 | MODULE_LICENSE("GPL"); |
2535 | 2530 | ||
2536 | static struct pci_driver rt61pci_driver = { | 2531 | static struct pci_driver rt61pci_driver = { |
2537 | .name = DRV_NAME, | 2532 | .name = KBUILD_MODNAME, |
2538 | .id_table = rt61pci_device_table, | 2533 | .id_table = rt61pci_device_table, |
2539 | .probe = rt2x00pci_probe, | 2534 | .probe = rt2x00pci_probe, |
2540 | .remove = __devexit_p(rt2x00pci_remove), | 2535 | .remove = __devexit_p(rt2x00pci_remove), |