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

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Mar 27 17:50:27 EST 2012


On Tue, 2012-03-27 at 01:53 -0400, David Miller wrote:
> 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>
> --

Greg, do you want to carry this or should I ? In the later case, I'd
rather send it to Linus now than having it hanging around til the next
merge window :-)

Cheers,
Ben.




More information about the Linuxppc-dev mailing list