X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fpatches-4.3%2F0503-net-next-mediatek-add-switch-driver-for-mt7620.patch;h=f3905ede44f170a4d324208aa76f5d1fb8aae54b;hp=325321eb12b12f1c87117b3a0788cecfc21da26e;hb=129f02c7414a411c6bcabd3f0db5cd14968f0726;hpb=3637a74590e6fd83eb16e4e41bb73f0a119af6a0 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)