[PATCH] pcmcia: convert DEV_OK to pcmcia_dev_present
[deliverable/linux.git] / drivers / net / pcmcia / smc91c92_cs.c
index 7d565f26a3bf56a343aaa272d31d5283b8cf0a0a..e74bf5014ef6b5cf1dbc0694e50a6a10f0da8485 100644 (file)
@@ -1259,7 +1259,7 @@ static int smc_open(struct net_device *dev)
 #endif
 
     /* Check that the PCMCIA card is still here. */
-    if (!DEV_OK(link))
+    if (!pcmcia_dev_present(link))
        return -ENODEV;
     /* Physical device present signature. */
     if (check_sig(link) < 0) {
This page took 0.024945 seconds and 5 git commands to generate.