[ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas <jmajau...
[openwrt.git] / target / linux / ar71xx / patches-2.6.28 / 801-ag71xx_rename_mii_bus_dev_to_mii_bus_parent.patch
1 --- a/drivers/net/ag71xx/ag71xx_mdio.c
2 +++ b/drivers/net/ag71xx/ag71xx_mdio.c
3 @@ -160,7 +160,7 @@ static int __init ag71xx_mdio_probe(stru
4 am->mii_bus.reset = ag71xx_mdio_reset;
5 am->mii_bus.irq = am->mii_irq;
6 am->mii_bus.priv = am;
7 - am->mii_bus.dev = &pdev->dev;
8 + am->mii_bus.parent = &pdev->dev;
9 snprintf(am->mii_bus.id, MII_BUS_ID_SIZE, "%x", 0);
10
11 pdata = pdev->dev.platform_data;
This page took 0.046106 seconds and 5 git commands to generate.