]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/mpc8313erdb: fix kernel panic because mdio device is not probed
authorLi Yang <leoli@freescale.com>
Wed, 21 Jan 2009 09:46:57 +0000 (17:46 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 26 Jan 2009 21:35:06 +0000 (15:35 -0600)
Probe the new mdio node added by b31a1d8b.  Fix kernel panic problem when
gianfar driver wants to get the of_platform_device of that mdio.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8313erdb.dts
arch/powerpc/platforms/83xx/mpc831x_rdb.c

index d4df8b6857a447c790a2f0f3e508bae22ca3e5ae..909a89cab9aca20d7bc8f651ecd1c1caef4ae10c 100644 (file)
                        cell-index = <0>;
                        device_type = "network";
                        model = "eTSEC";
-                       compatible = "gianfar", "simple-bus";
+                       compatible = "gianfar";
                        reg = <0x24000 0x1000>;
                        local-mac-address = [ 00 00 00 00 00 00 ];
                        interrupts = <37 0x8 36 0x8 35 0x8>;
index 5177bdd2c62a8f7014d0f3bc216da1eff397a3de..91a2c80b9d72902cb5a23bbdc16214c261586137 100644 (file)
@@ -71,6 +71,7 @@ static int __init mpc831x_rdb_probe(void)
 
 static struct of_device_id __initdata of_bus_ids[] = {
        { .compatible = "simple-bus" },
+       { .compatible = "gianfar" },
        {},
 };