aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/xtensa/variants/s6000/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/variants/s6000/gpio.c b/arch/xtensa/variants/s6000/gpio.c
index b89541ba39ab..da9e85c13b08 100644
--- a/arch/xtensa/variants/s6000/gpio.c
+++ b/arch/xtensa/variants/s6000/gpio.c
@@ -164,7 +164,7 @@ static void demux_irqs(unsigned int irq, struct irq_desc *desc)
164 int cirq; 164 int cirq;
165 165
166 chip->irq_mask(&desc->irq_data); 166 chip->irq_mask(&desc->irq_data);
167 chip->irq_ack(&desc->irq_data)); 167 chip->irq_ack(&desc->irq_data);
168 pending = readb(S6_REG_GPIO + S6_GPIO_BANK(0) + S6_GPIO_MIS) & *mask; 168 pending = readb(S6_REG_GPIO + S6_GPIO_BANK(0) + S6_GPIO_MIS) & *mask;
169 cirq = IRQ_BASE - 1; 169 cirq = IRQ_BASE - 1;
170 while (pending) { 170 while (pending) {
@@ -173,7 +173,7 @@ static void demux_irqs(unsigned int irq, struct irq_desc *desc)
173 pending >>= n; 173 pending >>= n;
174 generic_handle_irq(cirq); 174 generic_handle_irq(cirq);
175 } 175 }
176 chip->irq_unmask(&desc->irq_data)); 176 chip->irq_unmask(&desc->irq_data);
177} 177}
178 178
179extern const signed char *platform_irq_mappings[XTENSA_NR_IRQS]; 179extern const signed char *platform_irq_mappings[XTENSA_NR_IRQS];