diff options
Diffstat (limited to 'drivers/net/wireless/netwave_cs.c')
-rw-r--r-- | drivers/net/wireless/netwave_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/netwave_cs.c b/drivers/net/wireless/netwave_cs.c index bd4eff79bd13..f5333b7d2226 100644 --- a/drivers/net/wireless/netwave_cs.c +++ b/drivers/net/wireless/netwave_cs.c | |||
@@ -773,7 +773,7 @@ static int netwave_pcmcia_config(struct pcmcia_device *link) { | |||
773 | 773 | ||
774 | dev->irq = link->irq.AssignedIRQ; | 774 | dev->irq = link->irq.AssignedIRQ; |
775 | dev->base_addr = link->io.BasePort1; | 775 | dev->base_addr = link->io.BasePort1; |
776 | SET_NETDEV_DEV(dev, &handle_to_dev(link)); | 776 | SET_NETDEV_DEV(dev, &link->dev); |
777 | 777 | ||
778 | if (register_netdev(dev) != 0) { | 778 | if (register_netdev(dev) != 0) { |
779 | printk(KERN_DEBUG "netwave_cs: register_netdev() failed\n"); | 779 | printk(KERN_DEBUG "netwave_cs: register_netdev() failed\n"); |