aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia/smc91c92_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index 7d565f26a3bf..e74bf5014ef6 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -1259,7 +1259,7 @@ static int smc_open(struct net_device *dev)
1259#endif 1259#endif
1260 1260
1261 /* Check that the PCMCIA card is still here. */ 1261 /* Check that the PCMCIA card is still here. */
1262 if (!DEV_OK(link)) 1262 if (!pcmcia_dev_present(link))
1263 return -ENODEV; 1263 return -ENODEV;
1264 /* Physical device present signature. */ 1264 /* Physical device present signature. */
1265 if (check_sig(link) < 0) { 1265 if (check_sig(link) < 0) {