aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pl061.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
-rw-r--r--drivers/gpio/gpio-pl061.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index 4274e2e70ef8..f22f7f3e2e53 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -238,15 +238,15 @@ static struct irq_chip pl061_irqchip = {
238 .irq_set_type = pl061_irq_type, 238 .irq_set_type = pl061_irq_type,
239}; 239};
240 240
241static int pl061_irq_map(struct irq_domain *d, unsigned int virq, 241static int pl061_irq_map(struct irq_domain *d, unsigned int irq,
242 irq_hw_number_t hw) 242 irq_hw_number_t hwirq)
243{ 243{
244 struct pl061_gpio *chip = d->host_data; 244 struct pl061_gpio *chip = d->host_data;
245 245
246 irq_set_chip_and_handler_name(virq, &pl061_irqchip, handle_simple_irq, 246 irq_set_chip_and_handler_name(irq, &pl061_irqchip, handle_simple_irq,
247 "pl061"); 247 "pl061");
248 irq_set_chip_data(virq, chip); 248 irq_set_chip_data(irq, chip);
249 irq_set_irq_type(virq, IRQ_TYPE_NONE); 249 irq_set_irq_type(irq, IRQ_TYPE_NONE);
250 250
251 return 0; 251 return 0;
252} 252}