pcmcia/vrc4171: Add missing spinlock init
[linux-2.6.git] / drivers / pcmcia / vrc4171_card.c
index 86e4a1a..6bb02ab 100644 (file)
@@ -246,6 +246,7 @@ static int pccard_init(struct pcmcia_socket *sock)
        socket = &vrc4171_sockets[slot];
        socket->csc_irq = search_nonuse_irq();
        socket->io_irq = search_nonuse_irq();
+       spin_lock_init(&socket->lock);
 
        return 0;
 }