mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
1a5c5de1b6
commit
9ba126cfbf
1 changed files with 5 additions and 1 deletions
|
@ -223,7 +223,11 @@ disable:
|
||||||
|
|
||||||
#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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue