linux-stable/drivers/char/hw_random
Jingoo Han a80c5422b1 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>
2013-03-22 18:13:53 +08:00
..
amd-rng.c hwrng: amd - manage resource allocation 2011-05-04 15:13:15 +10:00
atmel-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
bcm63xx-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
core.c Update my e-mail address 2011-07-07 15:18:01 +02:00
exynos-rng.c hwrng: exynos - add CONFIG_PM_SLEEP/CONFIG_PM_RUNTIME to suspend/resume 2013-03-22 18:13:53 +08:00
geode-rng.c
intel-rng.c
ixp4xx-rng.c IXP4xx: HW pseudo-random generator is available on IXP45x/46x only. 2012-11-22 03:35:39 +00:00
Kconfig ARM: arm-soc: multiplatform conversion patches 2012-12-13 10:57:16 -08:00
Makefile hw_random: add support for the TPM chip as a hardware RNG source 2012-08-22 11:11:41 -05:00
mxc-rnga.c hwrng: mxc-rnga - Access data via structure 2012-09-07 04:17:07 +08:00
n2-asm.S
n2-drv.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
n2rng.h n2rng: Attach on Niagara-T3. 2011-07-28 01:26:30 -07:00
nomadik-rng.c ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver 2012-03-16 23:32:35 +00:00
octeon-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
omap-rng.c char: Convert to devm_ioremap_resource() 2013-01-22 11:41:56 -08:00
pasemi-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
picoxcell-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
ppc4xx-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
pseries-rng.c powerpc/pseries/hwrng: PFO-based hwrng driver 2012-05-14 10:49:12 +10:00
timeriomem-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
tpm-rng.c hw_random: add support for the TPM chip as a hardware RNG source 2012-08-22 11:11:41 -05:00
tx4939-rng.c char: Convert to devm_ioremap_resource() 2013-01-22 11:41:56 -08:00
via-rng.c hwrng: via_rng - Fix memory scribbling on some CPUs 2011-01-07 14:55:06 +11:00
virtio-rng.c Drivers: char: remove __dev* attributes. 2013-01-03 15:57:15 -08:00