aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rt3090/pci_main_dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rt3090/pci_main_dev.c b/drivers/staging/rt3090/pci_main_dev.c
index 4997d3a2311c..1410156b90c6 100644
--- a/drivers/staging/rt3090/pci_main_dev.c
+++ b/drivers/staging/rt3090/pci_main_dev.c
@@ -106,7 +106,7 @@ MODULE_VERSION(STA_DRIVER_VERSION);
106// 106//
107static struct pci_driver rt2860_driver = 107static struct pci_driver rt2860_driver =
108{ 108{
109 name: "rt2860", 109 name: "rt3090",
110 id_table: rt2860_pci_tbl, 110 id_table: rt2860_pci_tbl,
111 probe: rt2860_probe, 111 probe: rt2860_probe,
112#if LINUX_VERSION_CODE >= 0x20412 112#if LINUX_VERSION_CODE >= 0x20412
@@ -326,9 +326,9 @@ static INT __devinit rt2860_probe(
326 } 326 }
327 327
328#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) 328#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
329 print_name = pci_dev ? pci_name(pci_dev) : "rt2860"; 329 print_name = pci_dev ? pci_name(pci_dev) : "rt3090";
330#else 330#else
331 print_name = pci_dev ? pci_dev->slot_name : "rt2860"; 331 print_name = pci_dev ? pci_dev->slot_name : "rt3090";
332#endif // LINUX_VERSION_CODE // 332#endif // LINUX_VERSION_CODE //
333 333
334 if ((rv = pci_request_regions(pci_dev, print_name)) != 0) 334 if ((rv = pci_request_regions(pci_dev, print_name)) != 0)