Skip to content

Commit

Permalink
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Nov 2, 2006
1 parent 1a5c5de commit 9ba126c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ static void __init finalize_initrd(void)

#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
Expand Down

0 comments on commit 9ba126c

Please sign in to comment.