patch-2.3.99-pre7 linux/drivers/pcmcia/bulkmem.c

Next file: linux/drivers/pcmcia/cardbus.c
Previous file: linux/drivers/pci/quirks.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/pcmcia/bulkmem.c linux/drivers/pcmcia/bulkmem.c
@@ -231,7 +231,7 @@
 	    busy = kmalloc(sizeof(erase_busy_t), GFP_KERNEL);
 	    busy->erase = erase;
 	    busy->client = handle;
-	    busy->timeout.prev = busy->timeout.next = NULL;
+	    init_timer(&busy->timeout);
 	    busy->timeout.data = (u_long)busy;
 	    busy->timeout.function = &handle_erase_timeout;
 	    busy->prev = busy->next = NULL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)