summaryrefslogtreecommitdiffstats
path: root/net/ipx
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-11-07 20:31:32 +0530
committerLinus Walleij <linus.walleij@linaro.org>2012-11-08 22:23:18 +0100
commit8939ddc76a2f3399be98a60246ae0b365442f008 (patch)
tree60771f0178d62b5f0f7592931b1dafc93c25395c /net/ipx
parent5c868fc629b0e645a68aec3a6834d965e71531f4 (diff)
downloadop-kernel-dev-8939ddc76a2f3399be98a60246ae0b365442f008.zip
op-kernel-dev-8939ddc76a2f3399be98a60246ae0b365442f008.tar.gz
gpio: tegra: fix suspend/resume apis
Following are changes done to fix the suspend/resume functionality of tegra gpio driver: - Protect suspend/resume callbacks with CONFIG_PM_SLEEP because CONFIG_PM doesn't actually enable any of the PM callbacks, it only allows to enable CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. This means if CONFIG_PM is used to protect system sleep callbacks then it may end up unreferenced if only runtime PM is enabled. - Fix the suspend/resume APIs declaration as per callback prototype. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud