aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl3501_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl3501_cs.c')
-rw-r--r--drivers/net/wireless/wl3501_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c
index 7e8e269b4cb6..9a956c786738 100644
--- a/drivers/net/wireless/wl3501_cs.c
+++ b/drivers/net/wireless/wl3501_cs.c
@@ -1975,7 +1975,7 @@ static int wl3501_config(struct pcmcia_device *link)
1975 1975
1976 dev->irq = link->irq.AssignedIRQ; 1976 dev->irq = link->irq.AssignedIRQ;
1977 dev->base_addr = link->io.BasePort1; 1977 dev->base_addr = link->io.BasePort1;
1978 SET_NETDEV_DEV(dev, &handle_to_dev(link)); 1978 SET_NETDEV_DEV(dev, &link->dev);
1979 if (register_netdev(dev)) { 1979 if (register_netdev(dev)) {
1980 printk(KERN_NOTICE "wl3501_cs: register_netdev() failed\n"); 1980 printk(KERN_NOTICE "wl3501_cs: register_netdev() failed\n");
1981 goto failed; 1981 goto failed;