2002-11-13 02:03:37

by Zwane Mwaikambo

[permalink] [raw]
Subject: [PATCH][2.5] init_timer for smc91c92cs_cs.c

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