summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2019-06-24 08:16:19 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-24 17:22:55 +0300
commit2f9b0d93a9d3ec64558537ab5d7cff820886afa4 (patch)
tree1ca87a9c8c5ff671a7b95ff5c598527581818d28 /net/tipc
parente54fbbdf5a2944f084b170cd2b7ffdfa00bf3990 (diff)
downloadlinux-2f9b0d93a9d3ec64558537ab5d7cff820886afa4.tar.xz
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