summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/files-3.2
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/files-3.2')
-rw-r--r--target/linux/lantiq/files-3.2/arch/mips/lantiq/xway/dev-dwc_otg.c2
1 files changed, 1 insertions, 1 deletions
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 90b63fc72d..67f580527f 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);
}