Browse Source

net: stmmac: dwc-qos: Add suspend / resume support

Add hook to stmmac_pltfr_pm_ops for suspend / resume handling.

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Ed Blake 8 years ago
parent
commit
06d7a1b932
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c

+ 1 - 0
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c

@@ -511,6 +511,7 @@ static struct platform_driver dwc_eth_dwmac_driver = {
 	.remove = dwc_eth_dwmac_remove,
 	.driver = {
 		.name           = "dwc-eth-dwmac",
+		.pm             = &stmmac_pltfr_pm_ops,
 		.of_match_table = dwc_eth_dwmac_match,
 	},
 };