diff options
Diffstat (limited to 'drivers/net/tc35815.c')
-rw-r--r-- | drivers/net/tc35815.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c index 8487ace9d2e3..1f2b1f2d73ae 100644 --- a/drivers/net/tc35815.c +++ b/drivers/net/tc35815.c | |||
@@ -768,7 +768,7 @@ static int tc_mii_init(struct net_device *dev) | |||
768 | snprintf(lp->mii_bus.id, MII_BUS_ID_SIZE, "%x", | 768 | snprintf(lp->mii_bus.id, MII_BUS_ID_SIZE, "%x", |
769 | (lp->pci_dev->bus->number << 8) | lp->pci_dev->devfn); | 769 | (lp->pci_dev->bus->number << 8) | lp->pci_dev->devfn); |
770 | lp->mii_bus.priv = dev; | 770 | lp->mii_bus.priv = dev; |
771 | lp->mii_bus.dev = &lp->pci_dev->dev; | 771 | lp->mii_bus.parent = &lp->pci_dev->dev; |
772 | lp->mii_bus.irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); | 772 | lp->mii_bus.irq = kmalloc(sizeof(int) * PHY_MAX_ADDR, GFP_KERNEL); |
773 | if (!lp->mii_bus.irq) { | 773 | if (!lp->mii_bus.irq) { |
774 | err = -ENOMEM; | 774 | err = -ENOMEM; |