Skip to content

Commit

Permalink
init/do_mounts_md.c must #include <linux/delay.h>
Browse files Browse the repository at this point in the history
This patch fixes the following compile error caused by commit
589f800 ("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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and torvalds committed Oct 16, 2008
1 parent 1b821bf commit 73b4a24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/do_mounts_md.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

#include <linux/raid/md.h>
#include <linux/delay.h>

#include "do_mounts.h"

Expand Down

0 comments on commit 73b4a24

Please sign in to comment.