diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-11-20 20:14:14 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-20 21:16:13 -0500 |
commit | a3db3d3a52f0f159e0aa996792987acd8c14d2ad (patch) | |
tree | 52616b0cc02f95de586dd6094604558689c1f495 /drivers/net | |
parent | c72d8cdaa5dbd3baf918046ee5149ab69330923e (diff) |
net: dsa: mv88e6xxx: Fix typos when removing g1 interrupts
Simple typos, s/g2/g1/
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/dsa/mv88e6xxx/chip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index d6d9d66b81ce..6aa81d2d8f63 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -415,11 +415,11 @@ static void mv88e6xxx_g1_irq_free(struct mv88e6xxx_chip *chip) int irq, virq; for (irq = 0; irq < 16; irq++) { - virq = irq_find_mapping(chip->g2_irq.domain, irq); + virq = irq_find_mapping(chip->g1_irq.domain, irq); irq_dispose_mapping(virq); } - irq_domain_remove(chip->g2_irq.domain); + irq_domain_remove(chip->g1_irq.domain); } static int mv88e6xxx_g1_irq_setup(struct mv88e6xxx_chip *chip) |