]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: dsa: mv88e6xxx: Fix interrupt name for g2 irq
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 20 Mar 2018 09:44:42 +0000 (10:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2018 16:29:58 +0000 (12:29 -0400)
This changes the respective line in /proc/interrupts from

 49:          x          x  mv88e6xxx-g1   7 Edge      mv88e6xxx-g1

to

 49:          x          x  mv88e6xxx-g1   7 Edge      mv88e6xxx-g2

which makes more sense.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global2.c

index 6c620974fef37db47d0f9640842db1cac8483ae3..0ce627fded48f2182676d46194c363d30bb93287 100644 (file)
@@ -1090,7 +1090,7 @@ int mv88e6xxx_g2_irq_setup(struct mv88e6xxx_chip *chip)
 
        err = request_threaded_irq(chip->device_irq, NULL,
                                   mv88e6xxx_g2_irq_thread_fn,
-                                  IRQF_ONESHOT, "mv88e6xxx-g1", chip);
+                                  IRQF_ONESHOT, "mv88e6xxx-g2", chip);
        if (err)
                goto out;