]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 fdbb508661c5d111af10dc3bce6d8d815fed681c..8f6e89697ccfd5fc649f9446f8d26038615e1fbc 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