]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: stmmac: dwc-qos: Add suspend / resume support
authorEd Blake <ed.blake@sondrel.com>
Tue, 26 Sep 2017 10:43:46 +0000 (11:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 17:19:02 +0000 (10:19 -0700)
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>
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c

index dd6a2f9791cc11a390d71bcb5a1b071cd1bca068..5efef8001edf237a8539118f8b32727eb1816b15 100644 (file)
@@ -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,
        },
 };