[PATCH][2.5] init_timer for smc91c92cs_cs.c

Zwane Mwaikambo (zwane@holomorphy.com)
Tue, 12 Nov 2002 21:04:52 -0500 (EST)


Index: linux-2.5.47/drivers/net/pcmcia/smc91c92_cs.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.47/drivers/net/pcmcia/smc91c92_cs.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 smc91c92_cs.c
--- linux-2.5.47/drivers/net/pcmcia/smc91c92_cs.c 11 Nov 2002 03:57:06 -0000 1.1.1.1
+++ linux-2.5.47/drivers/net/pcmcia/smc91c92_cs.c 13 Nov 2002 00:02:49 -0000
@@ -358,6 +358,7 @@
memset(smc, 0, sizeof(struct smc_private));
link = &smc->link; dev = &smc->dev;
spin_lock_init(&smc->lock);
+ init_timer(&link->release);
link->release.function = &smc91c92_release;
link->release.data = (u_long)link;
link->io.NumPorts1 = 16;

-- 
function.linuxpower.ca

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/