diff options
Diffstat (limited to 'drivers/sh/intc')
-rw-r--r-- | drivers/sh/intc/core.c | 2 | ||||
-rw-r--r-- | drivers/sh/intc/virq.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c index 043419dcee92..8e72bcbd3d6d 100644 --- a/drivers/sh/intc/core.c +++ b/drivers/sh/intc/core.c | |||
@@ -65,7 +65,7 @@ void intc_set_prio_level(unsigned int irq, unsigned int level) | |||
65 | raw_spin_unlock_irqrestore(&intc_big_lock, flags); | 65 | raw_spin_unlock_irqrestore(&intc_big_lock, flags); |
66 | } | 66 | } |
67 | 67 | ||
68 | static void intc_redirect_irq(unsigned int irq, struct irq_desc *desc) | 68 | static void intc_redirect_irq(struct irq_desc *desc) |
69 | { | 69 | { |
70 | generic_handle_irq((unsigned int)irq_desc_get_handler_data(desc)); | 70 | generic_handle_irq((unsigned int)irq_desc_get_handler_data(desc)); |
71 | } | 71 | } |
diff --git a/drivers/sh/intc/virq.c b/drivers/sh/intc/virq.c index bafc51c6f0ba..e7899624aa0b 100644 --- a/drivers/sh/intc/virq.c +++ b/drivers/sh/intc/virq.c | |||
@@ -109,7 +109,7 @@ static int add_virq_to_pirq(unsigned int irq, unsigned int virq) | |||
109 | return 0; | 109 | return 0; |
110 | } | 110 | } |
111 | 111 | ||
112 | static void intc_virq_handler(unsigned int __irq, struct irq_desc *desc) | 112 | static void intc_virq_handler(struct irq_desc *desc) |
113 | { | 113 | { |
114 | unsigned int irq = irq_desc_get_irq(desc); | 114 | unsigned int irq = irq_desc_get_irq(desc); |
115 | struct irq_data *data = irq_desc_get_irq_data(desc); | 115 | struct irq_data *data = irq_desc_get_irq_data(desc); |
@@ -127,7 +127,7 @@ static void intc_virq_handler(unsigned int __irq, struct irq_desc *desc) | |||
127 | handle = (unsigned long)irq_desc_get_handler_data(vdesc); | 127 | handle = (unsigned long)irq_desc_get_handler_data(vdesc); |
128 | addr = INTC_REG(d, _INTC_ADDR_E(handle), 0); | 128 | addr = INTC_REG(d, _INTC_ADDR_E(handle), 0); |
129 | if (intc_reg_fns[_INTC_FN(handle)](addr, handle, 0)) | 129 | if (intc_reg_fns[_INTC_FN(handle)](addr, handle, 0)) |
130 | generic_handle_irq_desc(entry->irq, vdesc); | 130 | generic_handle_irq_desc(vdesc); |
131 | } | 131 | } |
132 | } | 132 | } |
133 | 133 | ||