aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.3
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-19 16:37:56 +0000
committerJohn Crispin <john@openwrt.org>2016-02-19 16:37:56 +0000
commit1e218001b5997339bc0d524a0b38c4a2d1700f31 (patch)
treeb5c31b17c12545b8ba11eb4decef188a8d6e29f7 /target/linux/ramips/patches-4.3
parentd179611006293a0c2474f32fc8c4460861a92e06 (diff)
downloadupstream-1e218001b5997339bc0d524a0b38c4a2d1700f31.tar.gz
upstream-1e218001b5997339bc0d524a0b38c4a2d1700f31.tar.bz2
upstream-1e218001b5997339bc0d524a0b38c4a2d1700f31.zip
ralink: unbreak port4 on mt7620
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48746
Diffstat (limited to 'target/linux/ramips/patches-4.3')
-rw-r--r--target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch b/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch
index 325321eb12..f3905ede44 100644
--- a/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch
+++ b/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch
@@ -222,7 +222,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+ const char *port4 = NULL;
+ struct mt7620_gsw *gsw;
-+ struct device_node *np;
++ struct device_node *np = pdev->dev.of_node;
+
+ gsw = devm_kzalloc(&pdev->dev, sizeof(struct mt7620_gsw), GFP_KERNEL);
+ if (!gsw)