summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-03-21 07:19:04 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2009-03-21 07:19:04 +0100
commite88cd6ff2ce14ed7025d253b7f7f468d38415f77 (patch)
tree238907a675dd33ab5d1ea6d6a4c0977a6cb1ba8b /drivers/char
parentnlattr: Fix build error with NET off (diff)
downloadlinux-e88cd6ff2ce14ed7025d253b7f7f468d38415f77.tar.xz
linux-e88cd6ff2ce14ed7025d253b7f7f468d38415f77.zip
hwrng: timeriomem - Breaks an allyesconfig build on s390:
CC drivers/char/hw_random/timeriomem-rng.o drivers/char/hw_random/timeriomem-rng.c: In function 'timeriomem_rng_data_read': drivers/char/hw_random/timeriomem-rng.c:60: error: implicit declaration of function 'readl' Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hw_random/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index e86dd425a70f..5fab6470f4b2 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -22,7 +22,7 @@ config HW_RANDOM
config HW_RANDOM_TIMERIOMEM
tristate "Timer IOMEM HW Random Number Generator support"
- depends on HW_RANDOM
+ depends on HW_RANDOM && HAS_IOMEM
---help---
This driver provides kernel-side support for a generic Random
Number Generator used by reading a 'dumb' iomem address that