diff options
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 19da5ab615bd..76e8936ab9e4 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
@@ -533,10 +533,8 @@ phy_err: | |||
533 | int phy_start_interrupts(struct phy_device *phydev) | 533 | int phy_start_interrupts(struct phy_device *phydev) |
534 | { | 534 | { |
535 | atomic_set(&phydev->irq_disable, 0); | 535 | atomic_set(&phydev->irq_disable, 0); |
536 | if (request_irq(phydev->irq, phy_interrupt, | 536 | if (request_irq(phydev->irq, phy_interrupt, 0, "phy_interrupt", |
537 | IRQF_SHARED, | 537 | phydev) < 0) { |
538 | "phy_interrupt", | ||
539 | phydev) < 0) { | ||
540 | pr_warn("%s: Can't get IRQ %d (PHY)\n", | 538 | pr_warn("%s: Can't get IRQ %d (PHY)\n", |
541 | phydev->bus->name, phydev->irq); | 539 | phydev->bus->name, phydev->irq); |
542 | phydev->irq = PHY_POLL; | 540 | phydev->irq = PHY_POLL; |