On Tue, Mar 27, 2012 at 05:50:27PM +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2012-03-27 at 01:53 -0400, David Miller wrote:
> > From: Benjamin Herrenschmidt
> > Date: Tue, 27 Mar 2012 16:06:30 +1100
> >
> > > This makes vio_register_driver() get the module owner & name at compile
> > > time
On Tue, 2012-03-27 at 01:53 -0400, David Miller wrote:
> From: Benjamin Herrenschmidt
> 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 av
From: Benjamin Herrenschmidt
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.
>
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
---
v2. Fix the debug printk on power