aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/irq/ipr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/cpu/irq/ipr.c')
-rw-r--r--arch/sh/kernel/cpu/irq/ipr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/irq/ipr.c b/arch/sh/kernel/cpu/irq/ipr.c
index 8944abdf6e1c..f7997312ef98 100644
--- a/arch/sh/kernel/cpu/irq/ipr.c
+++ b/arch/sh/kernel/cpu/irq/ipr.c
@@ -44,7 +44,7 @@ static void enable_ipr_irq(unsigned int irq)
44} 44}
45 45
46static struct irq_chip ipr_irq_chip = { 46static struct irq_chip ipr_irq_chip = {
47 .name = "ipr", 47 .name = "IPR",
48 .mask = disable_ipr_irq, 48 .mask = disable_ipr_irq,
49 .unmask = enable_ipr_irq, 49 .unmask = enable_ipr_irq,
50 .mask_ack = disable_ipr_irq, 50 .mask_ack = disable_ipr_irq,
@@ -60,7 +60,8 @@ void make_ipr_irq(unsigned int irq, unsigned int addr, int pos, int priority)
60 ipr_data.shift = pos*4; /* POSition (0-3) x 4 means shift */ 60 ipr_data.shift = pos*4; /* POSition (0-3) x 4 means shift */
61 ipr_data.priority = priority; 61 ipr_data.priority = priority;
62 62
63 set_irq_chip_and_handler(irq, &ipr_irq_chip, handle_level_irq); 63 set_irq_chip_and_handler_name(irq, &ipr_irq_chip,
64 handle_level_irq, "level");
64 set_irq_chip_data(irq, &ipr_data); 65 set_irq_chip_data(irq, &ipr_data);
65 66
66 enable_ipr_irq(irq); 67 enable_ipr_irq(irq);