diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-11 02:27:34 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-14 00:53:12 -0400 |
commit | a2cd15586e630b0870bf34783568d83901890743 (patch) | |
tree | cb914a4b6c2531d2a9aabca708992672dc76a442 /arch/sparc64/kernel/auxio.c | |
parent | 7379b42b607782695f49d05c80d3eb99e5072908 (diff) |
[SPARC/64]: Move of_platform_driver initialisations: arch/sparc{,64}.
We no longer initialise the name field of the of_platform_driver, but
use the name field of the embedded device_driver's name field instead.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/auxio.c')
-rw-r--r-- | arch/sparc64/kernel/auxio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/auxio.c b/arch/sparc64/kernel/auxio.c index 7b379761e9f8..c55f0293eacd 100644 --- a/arch/sparc64/kernel/auxio.c +++ b/arch/sparc64/kernel/auxio.c | |||
@@ -148,9 +148,11 @@ static int __devinit auxio_probe(struct of_device *dev, const struct of_device_i | |||
148 | } | 148 | } |
149 | 149 | ||
150 | static struct of_platform_driver auxio_driver = { | 150 | static struct of_platform_driver auxio_driver = { |
151 | .name = "auxio", | ||
152 | .match_table = auxio_match, | 151 | .match_table = auxio_match, |
153 | .probe = auxio_probe, | 152 | .probe = auxio_probe, |
153 | .driver = { | ||
154 | .name = "auxio", | ||
155 | }, | ||
154 | }; | 156 | }; |
155 | 157 | ||
156 | static int __init auxio_init(void) | 158 | static int __init auxio_init(void) |