Re: [RFC patch 2/3] remove pci_driver.owner and .name fields

From: Andrew Morton
Date: Wed Oct 26 2005 - 16:35:23 EST


Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 26, 2005 at 02:05:08PM -0700, Roland Dreier wrote:
> > > - .name = "DAC960",
> > > + .driver = {
> > > + .name = "DAC960",
> > > + },
> >
> > This change looks like a (rather ugly) step backwards. Maybe it would
> > be better to add the name as a parameter to pci_register_driver?
>
> It looks stupid in the first place - what's wrong with
> .driver.name = "DAC960",
> instead of that mess?

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