diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-10-13 11:22:52 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-11-02 17:23:33 +0000 |
commit | 9ba126cfbf505f4d5b39ed294cedd241321c7a91 (patch) | |
tree | d21601f5be93569f6815679646d773e4b8d29685 | |
parent | 1a5c5de1b64ec510a6ab6994702c295db00b9acc (diff) | |
download | kernel_samsung_tuna-9ba126cfbf505f4d5b39ed294cedd241321c7a91.zip kernel_samsung_tuna-9ba126cfbf505f4d5b39ed294cedd241321c7a91.tar.gz kernel_samsung_tuna-9ba126cfbf505f4d5b39ed294cedd241321c7a91.tar.bz2 |
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/setup.c | 6 |
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 |