diff options
Diffstat (limited to 'arch/sparc/kernel/auxio_64.c')
-rw-r--r-- | arch/sparc/kernel/auxio_64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc/kernel/auxio_64.c b/arch/sparc/kernel/auxio_64.c index ddc84128b3c2..3efd3c5af6a9 100644 --- a/arch/sparc/kernel/auxio_64.c +++ b/arch/sparc/kernel/auxio_64.c | |||
@@ -102,7 +102,8 @@ static struct of_device_id __initdata auxio_match[] = { | |||
102 | 102 | ||
103 | MODULE_DEVICE_TABLE(of, auxio_match); | 103 | MODULE_DEVICE_TABLE(of, auxio_match); |
104 | 104 | ||
105 | static int __devinit auxio_probe(struct of_device *dev, const struct of_device_id *match) | 105 | static int __devinit auxio_probe(struct platform_device *dev, |
106 | const struct of_device_id *match) | ||
106 | { | 107 | { |
107 | struct device_node *dp = dev->dev.of_node; | 108 | struct device_node *dp = dev->dev.of_node; |
108 | unsigned long size; | 109 | unsigned long size; |
@@ -142,7 +143,7 @@ static struct of_platform_driver auxio_driver = { | |||
142 | 143 | ||
143 | static int __init auxio_init(void) | 144 | static int __init auxio_init(void) |
144 | { | 145 | { |
145 | return of_register_driver(&auxio_driver, &of_platform_bus_type); | 146 | return of_register_platform_driver(&auxio_driver); |
146 | } | 147 | } |
147 | 148 | ||
148 | /* Must be after subsys_initcall() so that busses are probed. Must | 149 | /* Must be after subsys_initcall() so that busses are probed. Must |