Skip to content

Commit 06d7a1b

Browse files
ed-blake1davem330
authored andcommitted
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>
1 parent e804441 commit 06d7a1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ static struct platform_driver dwc_eth_dwmac_driver = {
511511
.remove = dwc_eth_dwmac_remove,
512512
.driver = {
513513
.name = "dwc-eth-dwmac",
514+
.pm = &stmmac_pltfr_pm_ops,
514515
.of_match_table = dwc_eth_dwmac_match,
515516
},
516517
};

0 commit comments

Comments
 (0)