aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/fmvj18x_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/fmvj18x_cs.c')
-rw-r--r--drivers/net/pcmcia/fmvj18x_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c
index 85f7c4562707..9b5ca37c6684 100644
--- a/drivers/net/pcmcia/fmvj18x_cs.c
+++ b/drivers/net/pcmcia/fmvj18x_cs.c
@@ -532,7 +532,7 @@ static int fmvj18x_config(struct pcmcia_device *link)
532 532
533 lp->cardtype = cardtype; 533 lp->cardtype = cardtype;
534 link->dev_node = &lp->node; 534 link->dev_node = &lp->node;
535 SET_NETDEV_DEV(dev, &handle_to_dev(link)); 535 SET_NETDEV_DEV(dev, &link->dev);
536 536
537 if (register_netdev(dev) != 0) { 537 if (register_netdev(dev) != 0) {
538 printk(KERN_NOTICE "fmvj18x_cs: register_netdev() failed\n"); 538 printk(KERN_NOTICE "fmvj18x_cs: register_netdev() failed\n");