Commit 980060bb authored by Linus Torvalds's avatar Linus Torvalds

Fix PCMCIA cut-and-paste cs.c bug introduced by the recent

update.

The socket is "s", not "skt".
parent d87e6032
...@@ -479,9 +479,9 @@ static void shutdown_socket(struct pcmcia_socket *s) ...@@ -479,9 +479,9 @@ static void shutdown_socket(struct pcmcia_socket *s)
{ {
int status; int status;
skt->ops->get_status(skt, &status); s->ops->get_status(s, &status);
if (status & SS_POWERON) { if (status & SS_POWERON) {
printk(KERN_ERR "PCMCIA: socket %p: *** DANGER *** unable to remove socket power\n", skt); printk(KERN_ERR "PCMCIA: socket %p: *** DANGER *** unable to remove socket power\n", s);
} }
} }
} /* shutdown_socket */ } /* shutdown_socket */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment