diff options
Diffstat (limited to 'target/linux/brcm63xx/patches-3.13/424-bcm63xx_enet_no_request_mem_region.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.13/424-bcm63xx_enet_no_request_mem_region.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-3.13/424-bcm63xx_enet_no_request_mem_region.patch b/target/linux/brcm63xx/patches-3.13/424-bcm63xx_enet_no_request_mem_region.patch new file mode 100644 index 0000000000..24dd27a292 --- /dev/null +++ b/target/linux/brcm63xx/patches-3.13/424-bcm63xx_enet_no_request_mem_region.patch @@ -0,0 +1,15 @@ +--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c ++++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c +@@ -2784,12 +2784,6 @@ static int bcm_enetsw_probe(struct platf + if (ret) + goto out; + +- if (!request_mem_region(res_mem->start, resource_size(res_mem), +- "bcm63xx_enetsw")) { +- ret = -EBUSY; +- goto out; +- } +- + priv->base = ioremap(res_mem->start, resource_size(res_mem)); + if (priv->base == NULL) { + ret = -ENOMEM; |