summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-11-07 15:01:32 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2012-11-08 21:23:18 (GMT)
commit8939ddc76a2f3399be98a60246ae0b365442f008 (patch)
tree60771f0178d62b5f0f7592931b1dafc93c25395c /drivers/watchdog
parent5c868fc629b0e645a68aec3a6834d965e71531f4 (diff)
downloadlinux-fsl-qoriq-8939ddc76a2f3399be98a60246ae0b365442f008.tar.xz
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 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions