diff options
Diffstat (limited to 'target/linux/bcm63xx/patches-4.14/424-bcm63xx_enet_no_request_mem_region.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-4.14/424-bcm63xx_enet_no_request_mem_region.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/target/linux/bcm63xx/patches-4.14/424-bcm63xx_enet_no_request_mem_region.patch b/target/linux/bcm63xx/patches-4.14/424-bcm63xx_enet_no_request_mem_region.patch deleted file mode 100644 index 6235c8cad6..0000000000 --- a/target/linux/bcm63xx/patches-4.14/424-bcm63xx_enet_no_request_mem_region.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c -+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c -@@ -2744,9 +2744,9 @@ static int bcm_enetsw_probe(struct platf - if (ret) - goto out; - -- priv->base = devm_ioremap_resource(&pdev->dev, res_mem); -- if (IS_ERR(priv->base)) { -- ret = PTR_ERR(priv->base); -+ priv->base = devm_ioremap(&pdev->dev, res_mem->start, resource_size(res_mem)); -+ if (priv->base == NULL) { -+ ret = -ENOMEM; - goto out; - } - |