aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 8d2940517c99..572d372899d3 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1058,7 +1058,7 @@ static void gpiolib_dbg_show(struct seq_file *s, struct gpio_chip *chip)
1058 1058
1059 if (!is_out) { 1059 if (!is_out) {
1060 int irq = gpio_to_irq(gpio); 1060 int irq = gpio_to_irq(gpio);
1061 struct irq_desc *desc = irq_desc + irq; 1061 struct irq_desc *desc = irq_to_desc(irq);
1062 1062
1063 /* This races with request_irq(), set_irq_type(), 1063 /* This races with request_irq(), set_irq_type(),
1064 * and set_irq_wake() ... but those are "rare". 1064 * and set_irq_wake() ... but those are "rare".