summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-03-12 14:46:22 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2013-03-22 18:13:53 +0800
commita80c5422b1426699c279b74fe8d3e8a4e3c902de (patch)
tree1f38649612e5c91b645f742e37b6833e6807440d /drivers/crypto/caam
parent1643a35fea3300c7df63c91596d3246c05b43a76 (diff)
downloadlinux-3.10-a80c5422b1426699c279b74fe8d3e8a4e3c902de.tar.gz
linux-3.10-a80c5422b1426699c279b74fe8d3e8a4e3c902de.tar.bz2
linux-3.10-a80c5422b1426699c279b74fe8d3e8a4e3c902de.zip
hwrng: exynos - add CONFIG_PM_SLEEP/CONFIG_PM_RUNTIME to suspend/resume
This patch adds CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. drivers/char/hw_random/exynos-rng.c:147:12: warning: 'exynos_rng_runtime_suspend' defined but not used [-Wunused-function] drivers/char/hw_random/exynos-rng.c:157:12: warning: 'exynos_rng_runtime_resume' defined but not used [-Wunused-function] Add CONFIG_PM_RUNTIME to suspend/resume functions to fix the build error. It is because UNIVERSAL_DEV_PM_OPS macro is related to both CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. drivers/char/hw_random/exynos-rng.c:167:8: error: 'exynos_rng_runtime_suspend' undeclared here (not in a function) drivers/char/hw_random/exynos-rng.c:167:8: error: 'exynos_rng_runtime_resume' undeclared here (not in a function) Signed-off-by: Jingoo Han <jg1.han@samsung.com> Reported-by: David Rientjes <rientjes@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
0 files changed, 0 insertions, 0 deletions