Author: blogic Date: 2016-02-19 17:37:56 +0100 (Fri, 19 Feb 2016) New Revision: 48746
Modified: trunk/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch Log: ralink: unbreak port4 on mt7620 Signed-off-by: John Crispin <[email protected]> Modified: trunk/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch =================================================================== --- trunk/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch 2016-02-19 11:49:03 UTC (rev 48745) +++ trunk/target/linux/ramips/patches-4.3/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch 2016-02-19 16:37:56 UTC (rev 48746) @@ -222,7 +222,7 @@ + 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) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
