--- zzzz-none-000/linux-3.10.107/arch/arm/mach-imx/imx31-dt.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/arm/mach-imx/imx31-dt.c 2021-02-04 17:41:59.000000000 +0000 @@ -18,12 +18,7 @@ #include "common.h" #include "mx31.h" -static void __init imx31_dt_init(void) -{ - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); -} - -static const char *imx31_dt_board_compat[] __initdata = { +static const char * const imx31_dt_board_compat[] __initconst = { "fsl,imx31", NULL }; @@ -37,9 +32,6 @@ .map_io = mx31_map_io, .init_early = imx31_init_early, .init_irq = mx31_init_irq, - .handle_irq = imx31_handle_irq, .init_time = imx31_dt_timer_init, - .init_machine = imx31_dt_init, .dt_compat = imx31_dt_board_compat, - .restart = mxc_restart, MACHINE_END