--- zzzz-none-000/linux-3.10.107/arch/powerpc/platforms/ps3/time.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/powerpc/platforms/ps3/time.c 2021-02-04 17:41:59.000000000 +0000 @@ -90,7 +90,6 @@ pdev = platform_device_register_simple("rtc-ps3", -1, NULL, 0); - return PTR_RET(pdev); + return PTR_ERR_OR_ZERO(pdev); } - -module_init(ps3_rtc_init); +device_initcall(ps3_rtc_init);