|
@@ -24,11 +24,6 @@
|
|
|
Supported chipsets: RT2561, RT2561s, RT2661.
|
|
|
*/
|
|
|
|
|
|
-/*
|
|
|
- * Set enviroment defines for rt2x00.h
|
|
|
- */
|
|
|
-#define DRV_NAME "rt61pci"
|
|
|
-
|
|
|
#include <linux/delay.h>
|
|
|
#include <linux/etherdevice.h>
|
|
|
#include <linux/init.h>
|
|
@@ -2497,7 +2492,7 @@ static const struct rt2x00lib_ops rt61pci_rt2x00_ops = {
|
|
|
};
|
|
|
|
|
|
static const struct rt2x00_ops rt61pci_ops = {
|
|
|
- .name = DRV_NAME,
|
|
|
+ .name = KBUILD_MODNAME,
|
|
|
.rxd_size = RXD_DESC_SIZE,
|
|
|
.txd_size = TXD_DESC_SIZE,
|
|
|
.eeprom_size = EEPROM_SIZE,
|
|
@@ -2534,7 +2529,7 @@ MODULE_FIRMWARE(FIRMWARE_RT2661);
|
|
|
MODULE_LICENSE("GPL");
|
|
|
|
|
|
static struct pci_driver rt61pci_driver = {
|
|
|
- .name = DRV_NAME,
|
|
|
+ .name = KBUILD_MODNAME,
|
|
|
.id_table = rt61pci_device_table,
|
|
|
.probe = rt2x00pci_probe,
|
|
|
.remove = __devexit_p(rt2x00pci_remove),
|