From 9e31085943dfadaa0f5961f5cbc4f7a240a09c53 Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 12 Apr 2012 12:33:56 +0000 Subject: [lantiq] update 3.2 patches sync with lantiq kernel series git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31260 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/dev-dwc_otg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/lantiq/files-3.2') diff --git a/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/dev-dwc_otg.c b/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/dev-dwc_otg.c index 90b63fc72..67f580527 100644 --- a/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/dev-dwc_otg.c +++ b/target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/dev-dwc_otg.c @@ -43,7 +43,6 @@ static struct resource resources[] = }, [1] = { .name = "dwc_otg_irq", - .start = LTQ_USB_INT, .flags = IORESOURCE_IRQ, }, }; @@ -65,6 +64,7 @@ xway_register_dwc(int pin) struct irq_data d; d.irq = resources[1].start; ltq_enable_irq(&d); + resources[1].start = ltq_is_ase() ? LTQ_USB_ASE_INT : LTQ_USB_INT; platform_dev.dev.platform_data = (void*) pin; return platform_device_register(&platform_dev); } -- cgit v1.2.3