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

David Miller davem at davemloft.net
Tue Mar 27 16:53:16 EST 2012


From: Benjamin Herrenschmidt <benh at kernel.crashing.org>
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 at kernel.crashing.org>

Acked-by: David S. Miller <davem at davemloft.net>


More information about the Linuxppc-dev mailing list