projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/mips/kernel/setup.c
b/arch/mips/kernel/setup.c
index fdbb508661c5d111af10dc3bce6d8d815fed681c..8f6e89697ccfd5fc649f9446f8d26038615e1fbc 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