aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-11-08 18:12:42 +0100
committerFelix Fietkau <nbd@nbd.name>2016-11-14 20:06:15 +0100
commit728ab77d3d954951a180d730a2e2eccf635abbaf (patch)
treeaf9ffa42d3de331c977eb411ee89d2aa3567474b /target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch
parent3d0e965c8b7346f06d840135798c37ea03277e17 (diff)
downloadupstream-728ab77d3d954951a180d730a2e2eccf635abbaf.tar.gz
upstream-728ab77d3d954951a180d730a2e2eccf635abbaf.tar.bz2
upstream-728ab77d3d954951a180d730a2e2eccf635abbaf.zip
ramips: fix polling switch interrupts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/patches-4.4/0503-net-next-mediatek-add-switch-driver-for-mt7620.patch')
-rw-r--r--target/linux/ramips/patches-4.4/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.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 <blogic@openwrt.org>
+ 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);
+