summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic
diff options
context:
space:
mode:
authorGrygorii Strashko <Grygorii.Strashko@linaro.org>2015-02-27 13:19:45 +0200
committerDavid S. Miller <davem@davemloft.net>2015-03-01 13:40:22 -0500
commit8963a50453508a3f605dc2b29be35ee72d55335c (patch)
treef8f4bbf07735e4d1004710e5681de0e9e1af5c59 /drivers/net/ethernet/qlogic
parent2f5c54ce0d11a527de3544e1b2c904544a2c1dd7 (diff)
downloadop-kernel-dev-8963a50453508a3f605dc2b29be35ee72d55335c.zip
op-kernel-dev-8963a50453508a3f605dc2b29be35ee72d55335c.tar.gz
net: ti: cpsw: add hibernation callbacks
Setting a dev_pm_ops suspend/resume pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by using SIMPLE_DEV_PM_OPS, which appropriately assigns the suspend and hibernation handlers and move cpsw_suspend/resume calbacks under CONFIG_PM_SLEEP to avoid build warnings. Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud