projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ramips: fix polling switch interrupts
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
patches-4.4
/
0504-net-next-mediatek-add-switch-driver-for-mt7621.patch
diff --git
a/target/linux/ramips/patches-4.4/0504-net-next-mediatek-add-switch-driver-for-mt7621.patch
b/target/linux/ramips/patches-4.4/0504-net-next-mediatek-add-switch-driver-for-mt7621.patch
index 071f23a7c03ab6cd8d88276e46e1bfcf6d71afdc..71192c9a25a5b81dbd5584f694e71f3e564f9727 100644
(file)
--- a/
target/linux/ramips/patches-4.4/0504-net-next-mediatek-add-switch-driver-for-mt7621.patch
+++ b/
target/linux/ramips/patches-4.4/0504-net-next-mediatek-add-switch-driver-for-mt7621.patch
@@
-269,7
+269,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);
+