diff options
author | Ed Blake <ed.blake@sondrel.com> | 2017-09-26 06:43:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-28 13:19:02 -0400 |
commit | 06d7a1b932c26afe2c0a1f4520ddd417d8eeda79 (patch) | |
tree | af5680cba2e636a814351cc252b30b4364125c5f | |
parent | e804441cfe0b60f6c430901946a69c01eac09df1 (diff) |
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>
-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 = { | |||
511 | .remove = dwc_eth_dwmac_remove, | 511 | .remove = dwc_eth_dwmac_remove, |
512 | .driver = { | 512 | .driver = { |
513 | .name = "dwc-eth-dwmac", | 513 | .name = "dwc-eth-dwmac", |
514 | .pm = &stmmac_pltfr_pm_ops, | ||
514 | .of_match_table = dwc_eth_dwmac_match, | 515 | .of_match_table = dwc_eth_dwmac_match, |
515 | }, | 516 | }, |
516 | }; | 517 | }; |