Re: [PATCH v2] powerpc+sparc/vio: Modernize driver registration

From: David Miller
Date: Tue Mar 27 2012 - 01:55:29 EST


From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Mar 2012 16:06:30 +1100

> This makes vio_register_driver() get the module owner & name at compile
> time like PCI drivers do, and adds a name pointer directly in struct
> vio_driver to avoid having to explicitly initialize the embedded
> struct device.
>
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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/