summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/700-dwc_otg.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-01-23 12:08:44 +0000
committerJohn Crispin <john@openwrt.org>2011-01-23 12:08:44 +0000
commit7c9e1370e910ddd70ef79ddd41eea8357aa2b43e (patch)
treebcc59be06817f085d5f6870bb623ab1321218d62 /target/linux/lantiq/patches/700-dwc_otg.patch
parentd6f4fa08eb62c138a929c342332302f2c27f728f (diff)
downloadmaster-31e0f0ae-7c9e1370e910ddd70ef79ddd41eea8357aa2b43e.tar.gz
master-31e0f0ae-7c9e1370e910ddd70ef79ddd41eea8357aa2b43e.tar.bz2
master-31e0f0ae-7c9e1370e910ddd70ef79ddd41eea8357aa2b43e.zip
* fix pci support for more than 1 device * fixes ioport mappings * adds support for arcor easybox 803/arv752DWP22 * gpio direction was not set properly during a gpio_request() * usb compile warning
bugfix, cleanup, SVN-Revision: 25072
Diffstat (limited to 'target/linux/lantiq/patches/700-dwc_otg.patch')
-rw-r--r--target/linux/lantiq/patches/700-dwc_otg.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/lantiq/patches/700-dwc_otg.patch b/target/linux/lantiq/patches/700-dwc_otg.patch
index 58a1a203ae..b50970350e 100644
--- a/target/linux/lantiq/patches/700-dwc_otg.patch
+++ b/target/linux/lantiq/patches/700-dwc_otg.patch
@@ -15580,7 +15580,7 @@
+xway_register_dwc(int pin)
+{
+ lq_enable_irq(resources[1].start);
-+ platform_dev.dev.platform_data = pin;
++ platform_dev.dev.platform_data = (void*) pin;
+ return platform_device_register(&platform_dev);
+}
--- /dev/null
@@ -15612,8 +15612,8 @@
+#include "dev-dwc_otg.h"
#define ARV452_LATCH_SWITCH (1 << 10)
-
-@@ -132,6 +133,7 @@
+ #define ARV752DPW22_LATCH_DEFAULT (2)
+@@ -195,6 +196,7 @@
lq_register_pci(&lq_pci_data);
lq_register_wdt();
arv45xx_register_ethernet();
@@ -15621,7 +15621,7 @@
}
MIPS_MACHINE(LANTIQ_MACH_ARV4518,
-@@ -151,6 +153,7 @@
+@@ -214,6 +216,7 @@
lq_register_pci(&lq_pci_data);
lq_register_wdt();
arv45xx_register_ethernet();