X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fsparc64%2Fkernel%2Fauxio.c;h=dd5c7bf87619b1ef2a3f17fb4adffa1ee7911f26;hb=35437b6192d9a4eb92f095dfd72396b6d2970f0b;hp=826118ee53d5f97f74e3985c4c078a2e63f77a5b;hpb=ab8e823515305a93715e71b81efcbe27c6ce0f59;p=linux-2.6-omap-h63xx.git diff --git a/arch/sparc64/kernel/auxio.c b/arch/sparc64/kernel/auxio.c index 826118ee53d..dd5c7bf8761 100644 --- a/arch/sparc64/kernel/auxio.c +++ b/arch/sparc64/kernel/auxio.c @@ -9,9 +9,9 @@ #include #include #include +#include #include -#include #include #include @@ -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