ARM: imx6: report soc info via soc device
[deliverable/linux.git] / arch / arm / mach-imx / mach-imx6q.c
index 1bdd0be429b93cc93988cf4c3ae2e9e9dce760cb..049e36edc143e87f7ef8ee9da2ebdf7d87cdfd67 100644 (file)
@@ -162,12 +162,18 @@ static void __init imx6q_1588_init(void)
 
 static void __init imx6q_init_machine(void)
 {
+       struct device *parent;
+
        imx_print_silicon_rev(cpu_is_imx6dl() ? "i.MX6DL" : "i.MX6Q",
                              imx_get_soc_revision());
 
+       parent = imx_soc_device_init();
+       if (parent == NULL)
+               pr_warn("failed to initialize soc device\n");
+
        imx6q_enet_phy_init();
 
-       of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+       of_platform_populate(NULL, of_default_bus_match_table, NULL, parent);
 
        imx_anatop_init();
        imx6q_pm_init();
This page took 0.025673 seconds and 5 git commands to generate.