]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC/64]: Prepare to remove of_platform_driver name.
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2007 20:21:43 +0000 (13:21 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 14 Oct 2007 04:53:11 +0000 (21:53 -0700)
commite39cfe73538a439ae587f3adf7c19e9e21d26544
treea81c6103c0eec3aa21d26c419fd072b6e96fd5a7
parent22bdf176c5c3ee9bfc4e1c89b1cbccfebd2d40f2
[SPARC/64]: Prepare to remove of_platform_driver name.

The name field of of_platform_driver is just copied into the
included device_driver.  By not overriding an already initialised
device_driver name, we can convert the drivers over time to stop using
the of_platform_driver name.

Also we were not copying the owner field from of_platform_driver, so do
the same with it.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/sparc/sbus_drivers.txt
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c