layerscape: Fix multiple bugs in of_get_mac_address() changes
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0320-staging-fsl_ppfe-eth-use-memremap-to-map-RAM-area-us.patch
index 115685c480618e0e632d1ff1bfc69c25918c9635..c9c3a7a88897044113d2e70b5a912a5d4b0fc5a5 100644 (file)
@@ -15,7 +15,7 @@ Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
 
 --- a/drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c
 +++ b/drivers/staging/fsl_ppfe/pfe_ls1012a_platform.c
-@@ -148,9 +148,10 @@ static int pfe_platform_probe(struct pla
+@@ -143,9 +143,10 @@ static int pfe_platform_probe(struct pla
        pfe->ddr_phys_baseaddr = res.start;
        pfe->ddr_size = resource_size(&res);
  
@@ -28,7 +28,7 @@ Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
                rc = -ENOMEM;
                goto err_ddr;
        }
-@@ -240,7 +241,7 @@ err_hif_irq:
+@@ -235,7 +236,7 @@ err_hif_irq:
        iounmap(pfe->cbus_baseaddr);
  
  err_axi:
@@ -37,7 +37,7 @@ Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
  
  err_ddr:
        platform_set_drvdata(pdev, NULL);
-@@ -264,7 +265,8 @@ static int pfe_platform_remove(struct pl
+@@ -259,7 +260,8 @@ static int pfe_platform_remove(struct pl
        rc = pfe_remove(pfe);
  
        iounmap(pfe->cbus_baseaddr);