mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 04:42:12 +00:00
59596df640
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> |
||
---|---|---|
.. | ||
amd-rng.c | ||
atmel-rng.c | ||
bcm63xx-rng.c | ||
core.c | ||
exynos-rng.c | ||
geode-rng.c | ||
intel-rng.c | ||
ixp4xx-rng.c | ||
Kconfig | ||
Makefile | ||
mxc-rnga.c | ||
n2-asm.S | ||
n2-drv.c | ||
n2rng.h | ||
nomadik-rng.c | ||
octeon-rng.c | ||
omap-rng.c | ||
pasemi-rng.c | ||
picoxcell-rng.c | ||
ppc4xx-rng.c | ||
pseries-rng.c | ||
timeriomem-rng.c | ||
tx4939-rng.c | ||
via-rng.c | ||
virtio-rng.c |