aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/smc91c92_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index c6ca3764ab6d..2e795de06cb3 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -964,7 +964,7 @@ static int smc91c92_config(struct pcmcia_device *link)
964 } 964 }
965 965
966 link->dev_node = &smc->node; 966 link->dev_node = &smc->node;
967 SET_NETDEV_DEV(dev, &handle_to_dev(link)); 967 SET_NETDEV_DEV(dev, &link->dev);
968 968
969 if (register_netdev(dev) != 0) { 969 if (register_netdev(dev) != 0) {
970 printk(KERN_ERR "smc91c92_cs: register_netdev() failed\n"); 970 printk(KERN_ERR "smc91c92_cs: register_netdev() failed\n");