diff mbox series

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

Message ID 1506422626-26058-1-git-send-email-ed.blake@sondrel.com
State Accepted, archived
Delegated to: David Miller
Headers show
Series net: stmmac: dwc-qos: Add suspend / resume support | expand

Commit Message

Ed Blake Sept. 26, 2017, 10:43 a.m. UTC
Add hook to stmmac_pltfr_pm_ops for suspend / resume handling.

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Miller Sept. 28, 2017, 5:19 p.m. UTC | #1
From: Ed Blake <ed.blake@sondrel.com>
Date: Tue, 26 Sep 2017 11:43:46 +0100

> Add hook to stmmac_pltfr_pm_ops for suspend / resume handling.
> 
> Signed-off-by: Ed Blake <ed.blake@sondrel.com>

Applied.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
index dd6a2f9..5efef80 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
@@ -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,
 	},
 };