Make use of the shared interrupt code, so for example phy interrupts can be passed onto the phylib.
Signed-off-by: Andrew Lunn <and...@lunn.ch> --- drivers/net/dsa/mv88e6131.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/dsa/mv88e6131.c b/drivers/net/dsa/mv88e6131.c index a92ca651c399..03031afbcb10 100644 --- a/drivers/net/dsa/mv88e6131.c +++ b/drivers/net/dsa/mv88e6131.c @@ -121,7 +121,12 @@ static int mv88e6131_setup(struct dsa_switch *ds) if (ret < 0) return ret; - return mv88e6xxx_setup_ports(ds); + ret = mv88e6xxx_setup_ports(ds); + + if (ret < 0) + return ret; + + return mv88e6xxx_setup_irqs(ds); } static int mv88e6131_port_to_phy_addr(struct dsa_switch *ds, int port) -- 2.7.0