diff options
Diffstat (limited to 'arch/sparc/kernel/auxio_64.c')
-rw-r--r-- | arch/sparc/kernel/auxio_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/auxio_64.c b/arch/sparc/kernel/auxio_64.c index ddc84128b3c2..46ba58a8510f 100644 --- a/arch/sparc/kernel/auxio_64.c +++ b/arch/sparc/kernel/auxio_64.c | |||
@@ -142,7 +142,7 @@ static struct of_platform_driver auxio_driver = { | |||
142 | 142 | ||
143 | static int __init auxio_init(void) | 143 | static int __init auxio_init(void) |
144 | { | 144 | { |
145 | return of_register_driver(&auxio_driver, &of_platform_bus_type); | 145 | return of_register_platform_driver(&auxio_driver); |
146 | } | 146 | } |
147 | 147 | ||
148 | /* Must be after subsys_initcall() so that busses are probed. Must | 148 | /* Must be after subsys_initcall() so that busses are probed. Must |