summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/setup.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-13 11:22:52 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-11-02 17:23:33 +0000
commit9ba126cfbf505f4d5b39ed294cedd241321c7a91 (patch)
treed21601f5be93569f6815679646d773e4b8d29685 /arch/mips/kernel/setup.c
parent1a5c5de1b64ec510a6ab6994702c295db00b9acc (diff)
downloadop-kernel-dev-9ba126cfbf505f4d5b39ed294cedd241321c7a91.zip
op-kernel-dev-9ba126cfbf505f4d5b39ed294cedd241321c7a91.tar.gz
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r--arch/mips/kernel/setup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index fdbb508..8f6e896 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -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
OpenPOWER on IntegriCloud