projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a5c5de
)
[MIPS] Fix warning about init_initrd() call if !CONFIG_BLK_DEV_INITRD.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 13 Oct 2006 10:22:52 +0000
(11:22 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 2 Nov 2006 17:23:33 +0000
(17:23 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/setup.c
b/arch/mips/kernel/setup.c
index
fdbb508
..
8f6e896
100644
(file)
--- 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