diff options
author | Keerthy <j-keerthy@ti.com> | 2019-06-24 07:16:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-24 16:22:55 +0200 |
commit | 2f9b0d93a9d3ec64558537ab5d7cff820886afa4 (patch) | |
tree | 1ca87a9c8c5ff671a7b95ff5c598527581818d28 /net/x25/Kconfig | |
parent | hinic: implement the statistical interface of ethtool (diff) | |
download | linux-2f9b0d93a9d3ec64558537ab5d7cff820886afa4.tar.xz linux-2f9b0d93a9d3ec64558537ab5d7cff820886afa4.zip |
net: ethernet: ti: cpsw: Fix suspend/resume break
Commit bfe59032bd6127ee190edb30be9381a01765b958 ("net: ethernet:
ti: cpsw: use cpsw as drv data")changes
the driver data to struct cpsw_common *cpsw. This is done
only in probe/remove but the suspend/resume functions are
still left with struct net_device *ndev. Hence fix both
suspend & resume also to fetch the updated driver data.
Fixes: bfe59032bd6127ee1 ("net: ethernet: ti: cpsw: use cpsw as drv data")
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/Kconfig')
0 files changed, 0 insertions, 0 deletions