提交 9ba126cf 编写于 作者: R Ralf Baechle

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

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册