fix rng platform device init
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 28 Nov 2006 02:29:41 +0000 (02:29 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Nov 2006 02:29:41 +0000 (02:29 +0000)
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 <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/devices.c

index d3627e5..2be1823 100644 (file)
@@ -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