--- zzzz-none-000/linux-3.10.107/arch/arm/mach-mv78xx0/common.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-mv78xx0/common.c 2021-02-04 17:41:59.000000000 +0000 @@ -15,11 +15,11 @@ #include #include #include +#include #include #include #include #include -#include #include #include #include @@ -337,11 +337,11 @@ if (mv78xx0_core_index() == 0) mvebu_mbus_init("marvell,mv78xx0-mbus", BRIDGE_WINS_CPU0_BASE, BRIDGE_WINS_SZ, - DDR_WINDOW_CPU0_BASE, DDR_WINDOW_CPU_SZ, 0); + DDR_WINDOW_CPU0_BASE, DDR_WINDOW_CPU_SZ); else mvebu_mbus_init("marvell,mv78xx0-mbus", BRIDGE_WINS_CPU1_BASE, BRIDGE_WINS_SZ, - DDR_WINDOW_CPU1_BASE, DDR_WINDOW_CPU_SZ, 0); + DDR_WINDOW_CPU1_BASE, DDR_WINDOW_CPU_SZ); } void __init_refok mv78xx0_timer_init(void) @@ -413,7 +413,7 @@ clk_init(); } -void mv78xx0_restart(char mode, const char *cmd) +void mv78xx0_restart(enum reboot_mode mode, const char *cmd) { /* * Enable soft reset to assert RSTOUTn.