aboutsummaryrefslogtreecommitdiff
path: root/arch/m68knommu/platform/68360/ints.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu/platform/68360/ints.c')
-rw-r--r--arch/m68knommu/platform/68360/ints.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m68knommu/platform/68360/ints.c b/arch/m68knommu/platform/68360/ints.c
index 6f22970d8c2..ad96ab1051f 100644
--- a/arch/m68knommu/platform/68360/ints.c
+++ b/arch/m68knommu/platform/68360/ints.c
@@ -132,10 +132,8 @@ void init_IRQ(void)
pquicc->intr_cimr = 0x00000000;
for (i = 0; (i < NR_IRQS); i++) {
- irq_desc[i].status = IRQ_DISABLED;
- irq_desc[i].action = NULL;
- irq_desc[i].depth = 1;
- irq_desc[i].chip = &intc_irq_chip;
+ set_irq_chip(irq, &intc_irq_chip);
+ set_irq_handler(irq, handle_level_irq);
}
}