aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_cs.c b/drivers/serial/serial_cs.c
index eec05a0a86f6..389d847cd1b4 100644
--- a/drivers/serial/serial_cs.c
+++ b/drivers/serial/serial_cs.c
@@ -155,7 +155,7 @@ static int serial_suspend(struct pcmcia_device *link)
155 155
156static int serial_resume(struct pcmcia_device *link) 156static int serial_resume(struct pcmcia_device *link)
157{ 157{
158 if (DEV_OK(link)) { 158 if (pcmcia_dev_present(link)) {
159 struct serial_info *info = link->priv; 159 struct serial_info *info = link->priv;
160 int i; 160 int i;
161 161