From: David Brownell Date: Tue, 28 Nov 2006 02:29:41 +0000 (+0000) Subject: fix rng platform device init X-Git-Tag: v2.6.19-omap1~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=21442f7ef2065b6042529768a97a4419d7153982;p=linux-2.6-omap-h63xx.git 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 --- 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