diff options
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index e66a20223abb..d1a769f35f9d 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c | |||
@@ -1973,6 +1973,7 @@ static int cpsw_suspend(struct device *dev) | |||
1973 | { | 1973 | { |
1974 | struct platform_device *pdev = to_platform_device(dev); | 1974 | struct platform_device *pdev = to_platform_device(dev); |
1975 | struct net_device *ndev = platform_get_drvdata(pdev); | 1975 | struct net_device *ndev = platform_get_drvdata(pdev); |
1976 | struct cpsw_priv *priv = netdev_priv(ndev); | ||
1976 | 1977 | ||
1977 | if (netif_running(ndev)) | 1978 | if (netif_running(ndev)) |
1978 | cpsw_ndo_stop(ndev); | 1979 | cpsw_ndo_stop(ndev); |