From 21442f7ef2065b6042529768a97a4419d7153982 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Tue, 28 Nov 2006 02:29:41 +0000 Subject: [PATCH] fix rng platform device init ARM: OMAP: fix rng platform device init The platform device needed for /dev/hw_random wasn't being created correctly; it used the wrong CONFIG symbol(s). Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/devices.c b/arch/arm/plat-omap/devices.c index d3627e55488..2be182350e3 100644 --- a/arch/arm/plat-omap/devices.c +++ b/arch/arm/plat-omap/devices.c @@ -440,7 +440,7 @@ static inline void omap_init_wdt(void) {} /*-------------------------------------------------------------------------*/ -#if defined(CONFIG_OMAP_RNG) || defined(CONFIG_OMAP_RNG_MODULE) +#if defined(CONFIG_HW_RANDOM_OMAP) || defined(CONFIG_HW_RANDOM_OMAP_MODULE) #ifdef CONFIG_ARCH_OMAP24XX #define OMAP_RNG_BASE 0x480A0000 -- 2.41.3