From e3889bcf7c8ad2eff0eaeb62dbc4c0977a972788 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 12 Apr 2012 12:33:56 +0000 Subject: update 3.2 patches sync with lantiq kernel series SVN-Revision: 31260 --- 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 90b63fc..67f5805 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.1