From: Heiko Carstens Date: Sat, 21 Mar 2009 06:19:04 +0000 (+0800) Subject: hwrng: timeriomem - Breaks an allyesconfig build on s390: X-Git-Tag: upstream/snapshot3+hdmi~19940^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e88cd6ff2ce14ed7025d253b7f7f468d38415f77;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Herbert Xu --- diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index e86dd42..5fab647 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