From 728ab77d3d954951a180d730a2e2eccf635abbaf Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 8 Nov 2016 18:12:42 +0100 Subject: ramips: fix polling switch interrupts Signed-off-by: Felix Fietkau --- .../0503-net-next-mediatek-add-switch-driver-for-mt7620.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch') diff --git a/target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch b/target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch index 88882d7fa4..59972bd42e 100644 --- a/target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch +++ b/target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch @@ -242,7 +242,7 @@ Signed-off-by: John Crispin + else + gsw->port4 = PORT4_EPHY; + -+ gsw->irq = irq_of_parse_and_map(np, 0); ++ gsw->irq = platform_get_irq(pdev, 0); + + platform_set_drvdata(pdev, gsw); + -- cgit v1.2.3