hwrng: timeriomem - Breaks an allyesconfig build on s390:
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 21 Mar 2009 06:19:04 +0000 (14:19 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 21 Mar 2009 06:19:04 +0000 (14:19 +0800)
  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>
drivers/char/hw_random/Kconfig

index e86dd425a70f861d070dc9b41603232aaa7bb95e..5fab6470f4b2beabbdd353063946bd513ef07554 100644 (file)
@@ -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