aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2007-11-27 15:47:34 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:05:04 -0500
commit2360157c413b06fe2958a051daeab7bac68f6588 (patch)
treec902030053c675dfabc76e14e0def772dc0e0202 /drivers/net/wireless/rt2x00/rt2500pci.c
parenta293ee990d0a3ba945eda5d0861969d0ca7ce62c (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/rt2500pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500pci.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c
index b6bb9644e25f..a6234547261e 100644
--- a/drivers/net/wireless/rt2x00/rt2500pci.c
+++ b/drivers/net/wireless/rt2x00/rt2500pci.c
@@ -24,11 +24,6 @@
24 Supported chipsets: RT2560. 24 Supported chipsets: RT2560.
25 */ 25 */
26 26
27/*
28 * Set enviroment defines for rt2x00.h
29 */
30#define DRV_NAME "rt2500pci"
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>
@@ -1903,7 +1898,7 @@ static const struct rt2x00lib_ops rt2500pci_rt2x00_ops = {
1903}; 1898};
1904 1899
1905static const struct rt2x00_ops rt2500pci_ops = { 1900static const struct rt2x00_ops rt2500pci_ops = {
1906 .name = DRV_NAME, 1901 .name = KBUILD_MODNAME,
1907 .rxd_size = RXD_DESC_SIZE, 1902 .rxd_size = RXD_DESC_SIZE,
1908 .txd_size = TXD_DESC_SIZE, 1903 .txd_size = TXD_DESC_SIZE,
1909 .eeprom_size = EEPROM_SIZE, 1904 .eeprom_size = EEPROM_SIZE,
@@ -1931,7 +1926,7 @@ MODULE_DEVICE_TABLE(pci, rt2500pci_device_table);
1931MODULE_LICENSE("GPL"); 1926MODULE_LICENSE("GPL");
1932 1927
1933static struct pci_driver rt2500pci_driver = { 1928static struct pci_driver rt2500pci_driver = {
1934 .name = DRV_NAME, 1929 .name = KBUILD_MODNAME,
1935 .id_table = rt2500pci_device_table, 1930 .id_table = rt2500pci_device_table,
1936 .probe = rt2x00pci_probe, 1931 .probe = rt2x00pci_probe,
1937 .remove = __devexit_p(rt2x00pci_remove), 1932 .remove = __devexit_p(rt2x00pci_remove),