Commit 9ba126cf authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1a5c5de1
...@@ -223,7 +223,11 @@ static void __init finalize_initrd(void) ...@@ -223,7 +223,11 @@ static void __init finalize_initrd(void)
#else /* !CONFIG_BLK_DEV_INITRD */ #else /* !CONFIG_BLK_DEV_INITRD */
#define init_initrd() 0 static unsigned long __init init_initrd(void)
{
return 0;
}
#define finalize_initrd() do {} while (0) #define finalize_initrd() do {} while (0)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment