]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/sparc/kernel/time_32.c
of/platform: remove all of_bus_type and of_platform_bus_type references
[net-next-2.6.git] / arch / sparc / kernel / time_32.c
index e404b063be2cbc1d141c899c2e91f1ad79463989..5dc20216952ee309ee2073c5a129d8346f62d828 100644 (file)
@@ -189,7 +189,7 @@ static struct of_platform_driver clock_driver = {
 /* Probe for the mostek real time clock chip. */
 static int __init clock_init(void)
 {
-       return of_register_driver(&clock_driver, &of_platform_bus_type);
+       return of_register_platform_driver(&clock_driver);
 }
 /* Must be after subsys_initcall() so that busses are probed.  Must
  * be before device_initcall() because things like the RTC driver