summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2010-06-11 04:44:55 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-15 14:55:31 -0700
commit44b496f685ca68c0d96eb3ad88e3948fad3417d6 (patch)
treeb37c24be1e8ec9365043b898b9443e50be81360e /drivers/net
parent21071344e67ebe2b2e1ae093728fc1d65246bcbd (diff)
downloadlinux-44b496f685ca68c0d96eb3ad88e3948fad3417d6.tar.gz
linux-44b496f685ca68c0d96eb3ad88e3948fad3417d6.tar.bz2
linux-44b496f685ca68c0d96eb3ad88e3948fad3417d6.zip
pcmcia: dev_node removal bugfix
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index 7b6fe89f9db0..64e6a84bbbbe 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -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;