brcm63xx: backport enet cleanup patches
[openwrt/openwrt.git] / target / linux / brcm63xx / patches-4.4 / 376-net-bcm63xx_enet-use-named-gpio-for-ephy-reset-gpio.patch
index db3fc5bc3a1e89ceaa8bbf623676c4e8dbd0f2fd..ca72bbf495a788c756b2dae288e89c613e4be952 100644 (file)
@@ -18,7 +18,7 @@ Allow using a named optional gpio for ephy reset gpio registration.
  
  #include <bcm63xx_dev_enet.h>
  #include "bcm63xx_enet.h"
-@@ -2851,10 +2852,15 @@ static int bcm_enet_shared_probe(struct
+@@ -2829,10 +2830,15 @@ static int bcm_enet_shared_probe(struct
  {
        struct resource *res;
        void __iomem *p[3];
@@ -34,7 +34,7 @@ Allow using a named optional gpio for ephy reset gpio registration.
        for (i = 0; i < 3; i++) {
                res = platform_get_resource(pdev, IORESOURCE_MEM, i);
                p[i] = devm_ioremap_resource(&pdev->dev, res);
-@@ -2864,6 +2870,9 @@ static int bcm_enet_shared_probe(struct
+@@ -2842,6 +2848,9 @@ static int bcm_enet_shared_probe(struct
  
        memcpy(bcm_enet_shared_base, p, sizeof(bcm_enet_shared_base));