diff options
author | Keerthy <j-keerthy@ti.com> | 2019-06-24 10:46:19 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-24 07:22:55 -0700 |
commit | 2f9b0d93a9d3ec64558537ab5d7cff820886afa4 (patch) | |
tree | 1ca87a9c8c5ff671a7b95ff5c598527581818d28 /net/tipc | |
parent | e54fbbdf5a2944f084b170cd2b7ffdfa00bf3990 (diff) | |
download | linux-2f9b0d93a9d3ec64558537ab5d7cff820886afa4.tar.bz2 |
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/tipc')
0 files changed, 0 insertions, 0 deletions