net: phy: marvell10g: add the suspend/resume callbacks for the 88x2210
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 2 Apr 2019 13:10:29 +0000 (15:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Apr 2019 04:45:48 +0000 (21:45 -0700)
When the 88x2110 PHY support was added, the suspend and resume callbacks
were forgotten. This patch adds them to the 88x2110 PHY callback
definition.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c

index 619c1a4dbeb4894755203c2e9a8e049d67a291b9..fc06e8c9a64bbe877bc07a72d2162f26a4886939 100644 (file)
@@ -484,6 +484,8 @@ static struct phy_driver mv3310_drivers[] = {
                .name           = "mv88x2110",
                .get_features   = genphy_c45_pma_read_abilities,
                .probe          = mv3310_probe,
+               .suspend        = mv3310_suspend,
+               .resume         = mv3310_resume,
                .soft_reset     = genphy_no_soft_reset,
                .config_init    = mv3310_config_init,
                .config_aneg    = mv3310_config_aneg,