--- zzzz-none-000/linux-3.10.107/arch/arm/mach-mmp/common.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-mmp/common.c 2021-02-04 17:41:59.000000000 +0000 @@ -47,7 +47,7 @@ mmp_chip_id = __raw_readl(MMP_CHIPID); } -void mmp_restart(char mode, const char *cmd) +void mmp_restart(enum reboot_mode mode, const char *cmd) { soft_restart(0); }