From 129f02c7414a411c6bcabd3f0db5cd14968f0726 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 19 Feb 2016 16:37:56 +0000 Subject: [PATCH] ralink: unbreak port4 on mt7620 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48746 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../0503-net-next-mediatek-add-switch-driver-for-mt7620.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + 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) -- 2.11.0