aboutsummaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/unicore32/kernel/irq.c')
-rw-r--r--arch/unicore32/kernel/irq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/unicore32/kernel/irq.c b/arch/unicore32/kernel/irq.c
index 0be5ccd7ccd2..c53729d92e8d 100644
--- a/arch/unicore32/kernel/irq.c
+++ b/arch/unicore32/kernel/irq.c
@@ -112,10 +112,9 @@ static struct irq_chip puv3_low_gpio_chip = {
112 * irq_controller_lock held, and IRQs disabled. Decode the IRQ 112 * irq_controller_lock held, and IRQs disabled. Decode the IRQ
113 * and call the handler. 113 * and call the handler.
114 */ 114 */
115static void 115static void puv3_gpio_handler(unsigned int __irq, struct irq_desc *desc)
116puv3_gpio_handler(unsigned int irq, struct irq_desc *desc)
117{ 116{
118 unsigned int mask; 117 unsigned int mask, irq;
119 118
120 mask = readl(GPIO_GEDR); 119 mask = readl(GPIO_GEDR);
121 do { 120 do {