pcmcia: dev_node removal bugfix
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 11 Jun 2010 04:44:55 +0000 (04:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 21:55:31 +0000 (14:55 -0700)
Patch c7c2fa07 removed one line too much from smc91c92_cs.c.

Reported-by: Komuro <komurojun-mbn@nifty.com>
CC: netdev@vger.kernel.org
CC: linux-wireless@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcmcia/smc91c92_cs.c

index 7b6fe89f9db0aa4c3f5373a25465efaf8d658ad3..64e6a84bbbbee840c0258a5d29736a033f34ab81 100644 (file)
@@ -322,6 +322,7 @@ static int smc91c92_probe(struct pcmcia_device *link)
        return -ENOMEM;
     smc = netdev_priv(dev);
     smc->p_dev = link;
+    link->priv = dev;
 
     spin_lock_init(&smc->lock);
     link->io.NumPorts1 = 16;