]> err.no Git - linux-2.6/blobdiff - drivers/pcmcia/ti113x.h
Merge branch 'sbp2-spindown' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee139...
[linux-2.6] / drivers / pcmcia / ti113x.h
index 87a5fd5c2127afdf5c5805d541cfe0f544b71355..129db7bd06c3661e291204f893bb4c6dedbcccd6 100644 (file)
@@ -692,7 +692,7 @@ static int ti12xx_2nd_slot_empty(struct yenta_socket *socket)
                goto out;
 
        /* check state */
-       yenta_get_status(&socket->socket, &state);
+       yenta_get_status(&slot2->socket, &state);
        if (state & SS_DETECT) {
                ret = 0;
                goto out;