]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/tg3.c
phylib: rename mii_bus::dev to mii_bus::parent
[linux-2.6-omap-h63xx.git] / drivers / net / tg3.c
index 123920759efde3a0ce991fa670ee0c0ab47b68ca..4b8b75bcbde07e2b7b2926b79ced03a41857b09e 100644 (file)
@@ -961,7 +961,7 @@ static int tg3_mdio_init(struct tg3 *tp)
        snprintf(mdio_bus->id, MII_BUS_ID_SIZE, "%x",
                 (tp->pdev->bus->number << 8) | tp->pdev->devfn);
        mdio_bus->priv     = tp;
-       mdio_bus->dev      = &tp->pdev->dev;
+       mdio_bus->parent   = &tp->pdev->dev;
        mdio_bus->read     = &tg3_mdio_read;
        mdio_bus->write    = &tg3_mdio_write;
        mdio_bus->reset    = &tg3_mdio_reset;