diff options
Diffstat (limited to 'drivers/net/pcmcia/ibmtr_cs.c')
-rw-r--r-- | drivers/net/pcmcia/ibmtr_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c index 14fe5fa35d86..76706e12d731 100644 --- a/drivers/net/pcmcia/ibmtr_cs.c +++ b/drivers/net/pcmcia/ibmtr_cs.c | |||
@@ -287,7 +287,7 @@ static int __devinit ibmtr_config(struct pcmcia_device *link) | |||
287 | ibmtr_hw_setup(dev, mmiobase); | 287 | ibmtr_hw_setup(dev, mmiobase); |
288 | 288 | ||
289 | link->dev_node = &info->node; | 289 | link->dev_node = &info->node; |
290 | SET_NETDEV_DEV(dev, &handle_to_dev(link)); | 290 | SET_NETDEV_DEV(dev, &link->dev); |
291 | 291 | ||
292 | i = ibmtr_probe_card(dev); | 292 | i = ibmtr_probe_card(dev); |
293 | if (i != 0) { | 293 | if (i != 0) { |