[POWERPC] Add 'mdio' to bus scan id list for platforms with QE UEC
[pandora-kernel.git] / arch / powerpc / platforms / 85xx / mpc85xx_mds.c
index 81144d2..e3dddbf 100644 (file)
@@ -80,7 +80,7 @@ static void __init mpc85xx_mds_setup_arch(void)
        np = of_find_node_by_type(NULL, "cpu");
        if (np != NULL) {
                const unsigned int *fp =
-                   get_property(np, "clock-frequency", NULL);
+                   of_get_property(np, "clock-frequency", NULL);
                if (fp != NULL)
                        loops_per_jiffy = *fp / HZ;
                else
@@ -147,6 +147,7 @@ static struct of_device_id mpc85xx_ids[] = {
        { .type = "soc", },
        { .compatible = "soc", },
        { .type = "qe", },
+       { .type = "mdio", },
        {},
 };