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/rt2400pci.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/rt2400pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index bdf3edc6524f..6d3cdaf5903e 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -24,11 +24,6 @@ | |||
24 | Supported chipsets: RT2460. | 24 | Supported chipsets: RT2460. |
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* | ||
28 | * Set enviroment defines for rt2x00.h | ||
29 | */ | ||
30 | #define DRV_NAME "rt2400pci" | ||
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> |
@@ -1610,7 +1605,7 @@ static const struct rt2x00lib_ops rt2400pci_rt2x00_ops = { | |||
1610 | }; | 1605 | }; |
1611 | 1606 | ||
1612 | static const struct rt2x00_ops rt2400pci_ops = { | 1607 | static const struct rt2x00_ops rt2400pci_ops = { |
1613 | .name = DRV_NAME, | 1608 | .name = KBUILD_MODNAME, |
1614 | .rxd_size = RXD_DESC_SIZE, | 1609 | .rxd_size = RXD_DESC_SIZE, |
1615 | .txd_size = TXD_DESC_SIZE, | 1610 | .txd_size = TXD_DESC_SIZE, |
1616 | .eeprom_size = EEPROM_SIZE, | 1611 | .eeprom_size = EEPROM_SIZE, |
@@ -1638,7 +1633,7 @@ MODULE_DEVICE_TABLE(pci, rt2400pci_device_table); | |||
1638 | MODULE_LICENSE("GPL"); | 1633 | MODULE_LICENSE("GPL"); |
1639 | 1634 | ||
1640 | static struct pci_driver rt2400pci_driver = { | 1635 | static struct pci_driver rt2400pci_driver = { |
1641 | .name = DRV_NAME, | 1636 | .name = KBUILD_MODNAME, |
1642 | .id_table = rt2400pci_device_table, | 1637 | .id_table = rt2400pci_device_table, |
1643 | .probe = rt2x00pci_probe, | 1638 | .probe = rt2x00pci_probe, |
1644 | .remove = __devexit_p(rt2x00pci_remove), | 1639 | .remove = __devexit_p(rt2x00pci_remove), |