summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2019-06-24 10:46:19 +0530
committerDavid S. Miller <davem@davemloft.net>2019-06-24 07:22:55 -0700
commit2f9b0d93a9d3ec64558537ab5d7cff820886afa4 (patch)
tree1ca87a9c8c5ff671a7b95ff5c598527581818d28 /block
parente54fbbdf5a2944f084b170cd2b7ffdfa00bf3990 (diff)
downloadlinux-stable-2f9b0d93a9d3ec64558537ab5d7cff820886afa4.tar.gz
linux-stable-2f9b0d93a9d3ec64558537ab5d7cff820886afa4.tar.bz2
linux-stable-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 'block')
0 files changed, 0 insertions, 0 deletions