aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/lantiq/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lantiq/irq.c')
-rw-r--r--arch/mips/lantiq/irq.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c
index f9737bb3c5ab..51fa0a4ba556 100644
--- a/arch/mips/lantiq/irq.c
+++ b/arch/mips/lantiq/irq.c
@@ -249,28 +249,28 @@ void __init arch_init_irq(void)
249 int i; 249 int i;
250 250
251 if (insert_resource(&iomem_resource, &ltq_icu_resource) < 0) 251 if (insert_resource(&iomem_resource, &ltq_icu_resource) < 0)
252 panic("Failed to insert icu memory\n"); 252 panic("Failed to insert icu memory");
253 253
254 if (request_mem_region(ltq_icu_resource.start, 254 if (request_mem_region(ltq_icu_resource.start,
255 resource_size(&ltq_icu_resource), "icu") < 0) 255 resource_size(&ltq_icu_resource), "icu") < 0)
256 panic("Failed to request icu memory\n"); 256 panic("Failed to request icu memory");
257 257
258 ltq_icu_membase = ioremap_nocache(ltq_icu_resource.start, 258 ltq_icu_membase = ioremap_nocache(ltq_icu_resource.start,
259 resource_size(&ltq_icu_resource)); 259 resource_size(&ltq_icu_resource));
260 if (!ltq_icu_membase) 260 if (!ltq_icu_membase)
261 panic("Failed to remap icu memory\n"); 261 panic("Failed to remap icu memory");
262 262
263 if (insert_resource(&iomem_resource, &ltq_eiu_resource) < 0) 263 if (insert_resource(&iomem_resource, &ltq_eiu_resource) < 0)
264 panic("Failed to insert eiu memory\n"); 264 panic("Failed to insert eiu memory");
265 265
266 if (request_mem_region(ltq_eiu_resource.start, 266 if (request_mem_region(ltq_eiu_resource.start,
267 resource_size(&ltq_eiu_resource), "eiu") < 0) 267 resource_size(&ltq_eiu_resource), "eiu") < 0)
268 panic("Failed to request eiu memory\n"); 268 panic("Failed to request eiu memory");
269 269
270 ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start, 270 ltq_eiu_membase = ioremap_nocache(ltq_eiu_resource.start,
271 resource_size(&ltq_eiu_resource)); 271 resource_size(&ltq_eiu_resource));
272 if (!ltq_eiu_membase) 272 if (!ltq_eiu_membase)
273 panic("Failed to remap eiu memory\n"); 273 panic("Failed to remap eiu memory");
274 274
275 /* make sure all irqs are turned off by default */ 275 /* make sure all irqs are turned off by default */
276 for (i = 0; i < 5; i++) 276 for (i = 0; i < 5; i++)