[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 13 Oct 2006 10:22:52 +0000 (11:22 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 2 Nov 2006 17:23:33 +0000 (17:23 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/setup.c

index fdbb508..8f6e896 100644 (file)
@@ -223,7 +223,11 @@ disable:
 
 #else  /* !CONFIG_BLK_DEV_INITRD */
 
-#define init_initrd()          0
+static unsigned long __init init_initrd(void)
+{
+       return 0;
+}
+
 #define finalize_initrd()      do {} while (0)
 
 #endif