X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches%2F700-dwc_otg.patch;h=b50970350e5a5f883feb1b229ab49c73cb467bb8;hp=58a1a203ae5153ccccf5f89341a18d4be4ec1e56;hb=f6bcad436d920ef103eaa897af8078d9ec633219;hpb=80851f27a07ad5ae55b715ecf55be897ee9b2d17 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();