Commit 73b4a24f authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

init/do_mounts_md.c must #include <linux/delay.h>

This patch fixes the following compile error caused by commit
589f800b ("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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1b821bfb
#include <linux/raid/md.h> #include <linux/raid/md.h>
#include <linux/delay.h>
#include "do_mounts.h" #include "do_mounts.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment