aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-02-19 16:37:56 +0000
committerJohn Crispin <blogic@openwrt.org>2016-02-19 16:37:56 +0000
commit4497cd9231955213b4699d3c59db67426a8c3220 (patch)
tree4443ce87adda08675f54e260aae5cfb9dad6888d /target/linux
parent09b87742f8c4678c485244013108c95a02f9b29a (diff)
downloadmaster-187ad058-4497cd9231955213b4699d3c59db67426a8c3220.tar.gz
master-187ad058-4497cd9231955213b4699d3c59db67426a8c3220.tar.bz2
master-187ad058-4497cd9231955213b4699d3c59db67426a8c3220.zip
ralink: unbreak port4 on mt7620
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48746 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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)