static void __init imx7d_init_machine(void) { struct device *parent; parent = imx_soc_device_init(); if (parent == NULL) pr_warn("failed to initialize soc device\n"); imx_anatop_init(); imx7d_enet_init(); }
static void __init imx7d_init_machine(void) { struct device *parent; mxc_arch_reset_init_dt(); parent = imx_soc_device_init(); if (parent == NULL) pr_warn("failed to initialize soc device\n"); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); imx7d_pm_init(); imx_anatop_init(); imx7d_enet_init(); }