diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-11 15:19:03 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-11 20:40:49 +1000 |
commit | 84dd4676f5519b86aee3bfaf1b230be2cb43f69b (patch) | |
tree | 56bd4fa1d945ccd07b2118c72264e6d10ed4ba30 /arch/powerpc/sysdev/pmi.c | |
parent | 8251b4c481bca72568e9c1042ea11189838e5f6d (diff) | |
download | linux-84dd4676f5519b86aee3bfaf1b230be2cb43f69b.tar.bz2 |
[POWERPC] Move of_platform_driver initialisations: arch/powerpc
We no longer initialise the name and owner fields of the
of_platform_driver, but use the fields of the embedded device_driver's
name field instead.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/pmi.c')
-rw-r--r-- | arch/powerpc/sysdev/pmi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c index 2f91b55b7754..20edd1e94eff 100644 --- a/arch/powerpc/sysdev/pmi.c +++ b/arch/powerpc/sysdev/pmi.c @@ -205,10 +205,12 @@ static int pmi_of_remove(struct of_device *dev) } static struct of_platform_driver pmi_of_platform_driver = { - .name = "pmi", .match_table = pmi_match, .probe = pmi_of_probe, - .remove = pmi_of_remove + .remove = pmi_of_remove, + .driver = { + .name = "pmi", + }, }; static int __init pmi_module_init(void) |