summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-3.14/424-bcm63xx_enet_no_request_mem_region.patch
blob: 24dd27a29257d79e26de49d6e0a2bd949108e9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;