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>
This commit is contained in:
parent
e804441cfe
commit
06d7a1b932
|
@ -511,6 +511,7 @@ static struct platform_driver dwc_eth_dwmac_driver = {
|
||||||
.remove = dwc_eth_dwmac_remove,
|
.remove = dwc_eth_dwmac_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "dwc-eth-dwmac",
|
.name = "dwc-eth-dwmac",
|
||||||
|
.pm = &stmmac_pltfr_pm_ops,
|
||||||
.of_match_table = dwc_eth_dwmac_match,
|
.of_match_table = dwc_eth_dwmac_match,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue