lan78xx: Add to handle mux control per chip id
[deliverable/linux.git] / drivers / net / phy / mdio-gpio.c
index 95f51d7267b3da85d74506ab4ac867ea25eca570..27ab63064f95884d426720a6f529d93e236fd746 100644 (file)
@@ -159,7 +159,7 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev,
 
        new_bus->phy_mask = pdata->phy_mask;
        new_bus->phy_ignore_ta_mask = pdata->phy_ignore_ta_mask;
-       new_bus->irq = pdata->irqs;
+       memcpy(new_bus->irq, pdata->irqs, sizeof(new_bus->irq));
        new_bus->parent = dev;
 
        if (new_bus->phy_mask == ~0)
This page took 0.025014 seconds and 5 git commands to generate.