--- zzzz-none-000/linux-3.10.107/arch/m68k/kernel/time.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/m68k/kernel/time.c 2021-02-04 17:41:59.000000000 +0000 @@ -11,6 +11,7 @@ */ #include +#include #include #include #include @@ -28,6 +29,11 @@ #include #include + +unsigned long (*mach_random_get_entropy)(void); +EXPORT_SYMBOL_GPL(mach_random_get_entropy); + + /* * timer_interrupt() needs to keep up the real-time clock, * as well as call the "xtime_update()" routine every clocktick @@ -90,7 +96,7 @@ return -ENODEV; pdev = platform_device_register_simple("rtc-generic", -1, NULL, 0); - return PTR_RET(pdev); + return PTR_ERR_OR_ZERO(pdev); } module_init(rtc_init);