diff options
Diffstat (limited to 'target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch b/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch index 361b4e3466..dade7ee6ab 100644 --- a/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch +++ b/target/linux/atheros/patches-3.10/220-enet_micrel_workaround.patch @@ -38,10 +38,10 @@ + return 0; +} + - int ar231x_probe(struct platform_device *pdev) + static int ar231x_probe(struct platform_device *pdev) { struct net_device *dev; -@@ -284,6 +311,23 @@ int ar231x_probe(struct platform_device +@@ -286,6 +313,23 @@ static int ar231x_probe(struct platform_ mdiobus_register(sp->mii_bus); @@ -65,7 +65,7 @@ if (ar231x_mdiobus_probe(dev) != 0) { printk(KERN_ERR "%s: mdiobus_probe failed\n", dev->name); rx_tasklet_cleanup(dev); -@@ -340,8 +384,10 @@ static int ar231x_remove(struct platform +@@ -342,8 +386,10 @@ static int ar231x_remove(struct platform rx_tasklet_cleanup(dev); ar231x_init_cleanup(dev); unregister_netdev(dev); @@ -78,7 +78,7 @@ kfree(dev); return 0; } -@@ -1100,6 +1146,9 @@ static int ar231x_ioctl(struct net_devic +@@ -1104,6 +1150,9 @@ static int ar231x_ioctl(struct net_devic struct ar231x_private *sp = netdev_priv(dev); int ret; |