diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-11 08:27:34 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-14 06:53:12 +0200 |
commit | a2cd15586e630b0870bf34783568d83901890743 (patch) | |
tree | cb914a4b6c2531d2a9aabca708992672dc76a442 /arch/sparc | |
parent | [SPARC64]: Fix bugs in SYSV IPC handling in 64-bit processes. (diff) | |
download | linux-a2cd15586e630b0870bf34783568d83901890743.tar.xz linux-a2cd15586e630b0870bf34783568d83901890743.zip |
[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/sparc')
-rw-r--r-- | arch/sparc/kernel/time.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index 6a2513321620..4bf78a5e8e0f 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c @@ -347,9 +347,11 @@ static struct of_device_id clock_match[] = { }; static struct of_platform_driver clock_driver = { - .name = "clock", .match_table = clock_match, .probe = clock_probe, + .driver = { + .name = "clock", + }, }; |