]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Prepare to remove of_platform_driver name
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2007 08:08:17 +0000 (18:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 9 Oct 2007 11:00:48 +0000 (21:00 +1000)
commit117eb767ea77ee7b50b5b79548dc30bf8800ed09
tree632bbb439de3cc94caf41d6aa580070d33c5db55
parent2127ddd8bba50ded8f13194ca6e69a3ef7de5a9b
[POWERPC] 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: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/of_platform.c