kernel: fix bluetooth and zsmalloc for 3.14
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-3.13 / 424-bcm63xx_enet_no_request_mem_region.patch
1 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
2 +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
3 @@ -2784,12 +2784,6 @@ static int bcm_enetsw_probe(struct platf
4 if (ret)
5 goto out;
6
7 - if (!request_mem_region(res_mem->start, resource_size(res_mem),
8 - "bcm63xx_enetsw")) {
9 - ret = -EBUSY;
10 - goto out;
11 - }
12 -
13 priv->base = ioremap(res_mem->start, resource_size(res_mem));
14 if (priv->base == NULL) {
15 ret = -ENOMEM;