]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
init/do_mounts_md.c must #include <linux/delay.h>
authorAdrian Bunk <bunk@kernel.org>
Thu, 16 Oct 2008 20:29:21 +0000 (23:29 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 20:35:34 +0000 (13:35 -0700)
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>
init/do_mounts_md.c

index 48b3fadd83ed90f846555079d02e87e9d708af0c..4c87ee1fe5d30fe1783f0800fde7e3888aad298e 100644 (file)
@@ -1,5 +1,6 @@
 
 #include <linux/raid/md.h>
+#include <linux/delay.h>
 
 #include "do_mounts.h"