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>
This commit is contained in:
parent
4f2d364b31
commit
287b87a350
|
@ -322,6 +322,7 @@ static int smc91c92_probe(struct pcmcia_device *link)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
smc = netdev_priv(dev);
|
smc = netdev_priv(dev);
|
||||||
smc->p_dev = link;
|
smc->p_dev = link;
|
||||||
|
link->priv = dev;
|
||||||
|
|
||||||
spin_lock_init(&smc->lock);
|
spin_lock_init(&smc->lock);
|
||||||
link->io.NumPorts1 = 16;
|
link->io.NumPorts1 = 16;
|
||||||
|
|
Loading…
Reference in New Issue