Messages in this thread Patch in this message | | | Subject | [PATCH] init_timer for fmvj18x_cs.c and pcnet_cs.c | From | OGAWA Hirofumi <> | Date | Thu, 14 Nov 2002 04:56:01 +0900 |
| |
This adds init_timer() to fmvj18x_cs.c and pcnet_cs.c.
Please apply.
drivers/net/pcmcia/fmvj18x_cs.c | 1 + drivers/net/pcmcia/pcnet_cs.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)
--- linux-2.5.47/drivers/net/pcmcia/fmvj18x_cs.c~init_timer-fix 2002-11-14 02:41:44.000000000 +0900 +++ linux-2.5.47-hirofumi/drivers/net/pcmcia/fmvj18x_cs.c 2002-11-14 02:41:44.000000000 +0900 @@ -291,6 +291,7 @@ static dev_link_t *fmvj18x_attach(void) link = &lp->link; dev = &lp->dev; link->priv = dev->priv = link->irq.Instance = lp; + init_timer(&link->release); link->release.function = &fmvj18x_release; link->release.data = (u_long)link; --- linux-2.5.47/drivers/net/pcmcia/pcnet_cs.c~init_timer-fix 2002-11-14 02:41:44.000000000 +0900 +++ linux-2.5.47-hirofumi/drivers/net/pcmcia/pcnet_cs.c 2002-11-14 02:41:44.000000000 +0900 @@ -301,7 +301,8 @@ static dev_link_t *pcnet_attach(void) memset(info, 0, sizeof(*info)); link = &info->link; dev = &info->dev; link->priv = info; - + + init_timer(&link->release); link->release.function = &pcnet_release; link->release.data = (u_long)link; link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; _ -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> - 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/
| |