summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-16 23:29:21 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 13:35:34 -0700
commit73b4a24f5ff09389ba6277c53a266b142f655ed2 (patch)
tree81c6d539589c8b2414b4e8b99814b1f18769a37e /init
parent1b821bfb034c5db5af62b463e3001243905179ba (diff)
init/do_mounts_md.c must #include <linux/delay.h>
This patch fixes the following compile error caused by commit 589f800bb12c5cd6c9167bbf9bf3cb70cd8e422c ("fastboot: make the raid autodetect code wait for all devices to init"): CC init/do_mounts_md.o init/do_mounts_md.c: In function 'autodetect_raid': init/do_mounts_md.c:285: error: implicit declaration of function 'msleep' make[2]: *** [init/do_mounts_md.o] Error 1 Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts_md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c
index 48b3fadd83e..4c87ee1fe5d 100644
--- a/init/do_mounts_md.c
+++ b/init/do_mounts_md.c
@@ -1,5 +1,6 @@
#include <linux/raid/md.h>
+#include <linux/delay.h>
#include "do_mounts.h"