aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt61pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt61pci.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index 264508f31a2a..c5dccdb2f175 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -3061,11 +3061,11 @@ static const struct rt2x00_ops rt61pci_ops = {
3061 */ 3061 */
3062static DEFINE_PCI_DEVICE_TABLE(rt61pci_device_table) = { 3062static DEFINE_PCI_DEVICE_TABLE(rt61pci_device_table) = {
3063 /* RT2561s */ 3063 /* RT2561s */
3064 { PCI_DEVICE(0x1814, 0x0301), PCI_DEVICE_DATA(&rt61pci_ops) }, 3064 { PCI_DEVICE(0x1814, 0x0301) },
3065 /* RT2561 v2 */ 3065 /* RT2561 v2 */
3066 { PCI_DEVICE(0x1814, 0x0302), PCI_DEVICE_DATA(&rt61pci_ops) }, 3066 { PCI_DEVICE(0x1814, 0x0302) },
3067 /* RT2661 */ 3067 /* RT2661 */
3068 { PCI_DEVICE(0x1814, 0x0401), PCI_DEVICE_DATA(&rt61pci_ops) }, 3068 { PCI_DEVICE(0x1814, 0x0401) },
3069 { 0, } 3069 { 0, }
3070}; 3070};
3071 3071
@@ -3080,10 +3080,16 @@ MODULE_FIRMWARE(FIRMWARE_RT2561s);
3080MODULE_FIRMWARE(FIRMWARE_RT2661); 3080MODULE_FIRMWARE(FIRMWARE_RT2661);
3081MODULE_LICENSE("GPL"); 3081MODULE_LICENSE("GPL");
3082 3082
3083static int rt61pci_probe(struct pci_dev *pci_dev,
3084 const struct pci_device_id *id)
3085{
3086 return rt2x00pci_probe(pci_dev, &rt61pci_ops);
3087}
3088
3083static struct pci_driver rt61pci_driver = { 3089static struct pci_driver rt61pci_driver = {
3084 .name = KBUILD_MODNAME, 3090 .name = KBUILD_MODNAME,
3085 .id_table = rt61pci_device_table, 3091 .id_table = rt61pci_device_table,
3086 .probe = rt2x00pci_probe, 3092 .probe = rt61pci_probe,
3087 .remove = __devexit_p(rt2x00pci_remove), 3093 .remove = __devexit_p(rt2x00pci_remove),
3088 .suspend = rt2x00pci_suspend, 3094 .suspend = rt2x00pci_suspend,
3089 .resume = rt2x00pci_resume, 3095 .resume = rt2x00pci_resume,