aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/3c589_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/3c589_cs.c')
-rw-r--r--drivers/net/pcmcia/3c589_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c
index 6eac62b7143c..c43c21ddb2d1 100644
--- a/drivers/net/pcmcia/3c589_cs.c
+++ b/drivers/net/pcmcia/3c589_cs.c
@@ -316,7 +316,7 @@ static int tc589_config(struct pcmcia_device *link)
316 printk(KERN_ERR "3c589_cs: invalid if_port requested\n"); 316 printk(KERN_ERR "3c589_cs: invalid if_port requested\n");
317 317
318 link->dev_node = &lp->node; 318 link->dev_node = &lp->node;
319 SET_NETDEV_DEV(dev, &handle_to_dev(link)); 319 SET_NETDEV_DEV(dev, &link->dev);
320 320
321 if (register_netdev(dev) != 0) { 321 if (register_netdev(dev) != 0) {
322 printk(KERN_ERR "3c589_cs: register_netdev() failed\n"); 322 printk(KERN_ERR "3c589_cs: register_netdev() failed\n");