aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-01-31 14:21:53 +0100
committerRafał Miłecki <rafal@milecki.pl>2017-01-31 14:31:13 +0100
commit12288d450b18fd67293122fcd41761469fe5734b (patch)
treed8081ffdaceade245a14639f4b7e84d69ed0eea9 /target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
parent1a14ffaf2bd5929c20fb5d4c2d5a6fa6d2cad65e (diff)
downloadupstream-12288d450b18fd67293122fcd41761469fe5734b.tar.gz
upstream-12288d450b18fd67293122fcd41761469fe5734b.tar.bz2
upstream-12288d450b18fd67293122fcd41761469fe5734b.zip
kernel: update bcma to fix devm memory leaks
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch b/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
index 4935a19329..e48d3aa678 100644
--- a/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
+++ b/target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch
@@ -29,7 +29,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
#size-cells = <1>;
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
-@@ -349,14 +349,6 @@ static int bcma_register_devices(struct
+@@ -352,14 +352,6 @@ static int bcma_register_devices(struct
}
#endif
@@ -44,7 +44,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
#ifdef CONFIG_BCMA_NFLASH
if (bus->drv_cc.nflash.present) {
err = platform_device_register(&bcma_nflash_dev);
-@@ -437,6 +429,14 @@ int bcma_bus_register(struct bcma_bus *b
+@@ -440,6 +432,14 @@ int bcma_bus_register(struct bcma_bus *b
bcma_register_core(bus, core);
}