]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc64/kernel/auxio.c
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6-omap-h63xx.git] / arch / sparc64 / kernel / auxio.c
index 826118ee53d5f97f74e3985c4c078a2e63f77a5b..c55f0293eacdd8f6b2cbf096044886cfe1eed130 100644 (file)
@@ -148,14 +148,16 @@ static int __devinit auxio_probe(struct of_device *dev, const struct of_device_i
 }
 
 static struct of_platform_driver auxio_driver = {
-       .name           = "auxio",
        .match_table    = auxio_match,
        .probe          = auxio_probe,
+       .driver         = {
+               .name   = "auxio",
+       },
 };
 
 static int __init auxio_init(void)
 {
-       return of_register_driver(&auxio_driver, &of_bus_type);
+       return of_register_driver(&auxio_driver, &of_platform_bus_type);
 }
 
 /* Must be after subsys_initcall() so that busses are probed.  Must