aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/xirc2ps_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/xirc2ps_cs.c')
-rw-r--r--drivers/net/pcmcia/xirc2ps_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index 0141c5037f41..a92a3134c833 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -1525,7 +1525,7 @@ do_open(struct net_device *dev)
1525 1525
1526 /* Check that the PCMCIA card is still here. */ 1526 /* Check that the PCMCIA card is still here. */
1527 /* Physical device present signature. */ 1527 /* Physical device present signature. */
1528 if (!DEV_OK(link)) 1528 if (!pcmcia_dev_present(link))
1529 return -ENODEV; 1529 return -ENODEV;
1530 1530
1531 /* okay */ 1531 /* okay */