Re: linux-next: Tree for March 20 - timeriomem build break on s390

From: Heiko Carstens
Date: Fri Mar 20 2009 - 05:09:23 EST


'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@xxxxxxxxxx>
---

drivers/char/hw_random/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-next/drivers/char/hw_random/Kconfig
===================================================================
--- linux-next.orig/drivers/char/hw_random/Kconfig
+++ linux-next/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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/