Re: [PATCH] Re: sound in 2.4.0test8 (cs46xx.c)

From: Dan Aloni (karrde@callisto.yi.org)
Date: Mon Sep 11 2000 - 16:14:47 EST


On Mon, 11 Sep 2000, Jeff Garzik wrote:

> Dan Aloni wrote:
> > On Mon, 11 Sep 2000, Bernd Jucknischke wrote:
> > > I've just tried to compile a 2.4.0-test8 on an IBM thinkpad T20 and got the
> > > following error:
> > > cs46xx.c: 2488: cards causes a section type conflict
> > Linus'-not-Maxwell, please consider applying this patch.
> >
> > @@ -2494,7 +2494,7 @@
> > {PCI_VENDOR_ID_IBM, 0x0132, "Thinkpad 570", amp_none, clkrun_hack},
> > {PCI_VENDOR_ID_IBM, 0x0153, "Thinkpad 600X/A20/T20", amp_none, clkrun_hack},
> > {PCI_VENDOR_ID_IBM, 0x1010, "Thinkpad 600E (unsupported)", NULL, NULL},
> > - {0, 0, NULL, NULL}
> > + {0, 0, NULL, NULL, NULL}
> > };
>
> Just leave it at "{ 0, }" and gcc will fill in the rest of the struct
> members as zero.

I guess you're right, I was just trying not to break any consistency.

Dan Aloni (dax)
karrde@callisto.yi.org

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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:16 EST