]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/phy/mdio-ofgpio.c
phylib: rename mii_bus::dev to mii_bus::parent
[linux-2.6-omap-h63xx.git] / drivers / net / phy / mdio-ofgpio.c
index 7edfc0c348355a3b33e513a92c195cce09898e2e..27bd4539d0891fcf721c10c4a096adf7cc684b4f 100644 (file)
@@ -142,7 +142,7 @@ static int __devinit mdio_ofgpio_probe(struct of_device *ofdev,
                if (!strcmp(np->type, "ethernet-phy"))
                        add_phy(new_bus, np);
 
-       new_bus->dev = &ofdev->dev;
+       new_bus->parent = &ofdev->dev;
        dev_set_drvdata(&ofdev->dev, new_bus);
 
        ret = mdiobus_register(new_bus);