commit | cb52d8970eee65bf2c47d9a91bd4f58b17f595f4 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Mar 26 19:06:30 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Mar 28 11:33:24 2012 +1100 |
tree | 43521ba99805f293e09a284901cb5435afeab789 | |
parent | 1d9a47315042606b4217691bcea36cfa6ccbde66 [diff] |
powerpc+sparc/vio: Modernize driver registration 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@kernel.crashing.org> Acked-by: David S. Miller <davem@davemloft.net>