linux/drivers/char/hw_random
Arnd Bergmann 59596df640 omap-rng: fix use of SIMPLE_DEV_PM_OPS
omap_rng_suspend and omap_rng_resume are unused if CONFIG_PM is enabled
but CONFIG_PM_SLEEP is disabled. I found this while building all defconfig
files on ARM. It's not clear to me if this is the right solution, but
at least it makes the code consistent again.

Without this patch, building omap1_defconfig results in:

drivers/char/hw_random/omap-rng.c:165:12: warning: 'omap_rng_suspend' defined but not used [-Wunused-function]
drivers/char/hw_random/omap-rng.c:171:12: warning: 'omap_rng_resume' defined but not used [-Wunused-function]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kevin Hilman <khilman@ti.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
2012-08-10 12:28:05 +02:00
..
amd-rng.c
atmel-rng.c hwrng: atmel-rng - fix data valid check 2012-06-12 08:27:04 +08:00
bcm63xx-rng.c hw_random: add Broadcom BCM63xx RNG driver 2012-07-24 16:33:11 +02:00
core.c
exynos-rng.c hwrng: exynos - Add support for Exynos random number generator 2012-07-11 11:06:14 +08:00
geode-rng.c
intel-rng.c
ixp4xx-rng.c
Kconfig Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-07-30 11:45:52 -07:00
Makefile Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-07-30 11:45:52 -07:00
mxc-rnga.c hwrng: mxc-rnga - fix data_present API 2012-06-27 14:42:00 +08:00
n2-asm.S
n2-drv.c
n2rng.h
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
omap-rng.c omap-rng: fix use of SIMPLE_DEV_PM_OPS 2012-08-10 12:28:05 +02:00
pasemi-rng.c
picoxcell-rng.c
ppc4xx-rng.c
pseries-rng.c powerpc/pseries/hwrng: PFO-based hwrng driver 2012-05-14 10:49:12 +10:00
timeriomem-rng.c
tx4939-rng.c hwrng: tx4939 - use devm_request_and_ioremap 2012-01-13 16:38:40 +11:00
via-rng.c
virtio-rng.c virtio: rng: s3/s4 support 2012-07-30 13:30:50 +09:30