diff options
author | Ed Blake <ed.blake@sondrel.com> | 2017-09-26 11:43:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-28 10:19:02 -0700 |
commit | 06d7a1b932c26afe2c0a1f4520ddd417d8eeda79 (patch) | |
tree | af5680cba2e636a814351cc252b30b4364125c5f /drivers/net | |
parent | e804441cfe0b60f6c430901946a69c01eac09df1 (diff) | |
download | linux-06d7a1b932c26afe2c0a1f4520ddd417d8eeda79.tar.bz2 |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 dd6a2f9791cc..5efef8001edf 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 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, }, }; |