Skip to contentSkip to conversation

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

PATCH Applied Ed Blake 2 participants 2 messages Sep 26, 2017 – Sep 28, 2017

Subsystems (4)
lore
Share & tools
lore

Ed Blake

author
#0 lore raw

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

Add hook to stmmac_pltfr_pm_ops for suspend / resume handling.

---
 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c +1 -0
index dd6a2f9..5efef80 100644
@@ -511,6 +511,7 @@ static int dwc_eth_dwmac_remove(struct platform_device *pdev)
 	.remove = dwc_eth_dwmac_remove,
 	.driver = {
 		.name           = "dwc-eth-dwmac",
+		.pm             = &stmmac_pltfr_pm_ops,
 		.of_match_table = dwc_eth_dwmac_match,
 	},
 };
Signature · 1 line
1.9.1