aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/nmclan_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/nmclan_cs.c')
-rw-r--r--drivers/net/pcmcia/nmclan_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c
index a5363483ec6f..2d0c6f93ed8b 100644
--- a/drivers/net/pcmcia/nmclan_cs.c
+++ b/drivers/net/pcmcia/nmclan_cs.c
@@ -701,7 +701,7 @@ static int nmclan_config(struct pcmcia_device *link)
701 printk(KERN_NOTICE "nmclan_cs: invalid if_port requested\n"); 701 printk(KERN_NOTICE "nmclan_cs: invalid if_port requested\n");
702 702
703 link->dev_node = &lp->node; 703 link->dev_node = &lp->node;
704 SET_NETDEV_DEV(dev, &handle_to_dev(link)); 704 SET_NETDEV_DEV(dev, &link->dev);
705 705
706 i = register_netdev(dev); 706 i = register_netdev(dev);
707 if (i != 0) { 707 if (i != 0) {