lkml.org 
[lkml]   [2008]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] init/do_mounts_md.c must #include <linux/delay.h>
sigh; header "cleanups" crossing ;(


Adrian Bunk wrote:
> This patch fixes the following compile error caused by
> commit 589f800bb12c5cd6c9167bbf9bf3cb70cd8e422c
> (fastboot: make the raid autodetect code wait for all devices to init):
>
> <-- snip -->
>
> ...
> 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
>
> <-- snip -->
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> diff --git a/init/do_mounts_md.c b/init/do_mounts_md.c
> index 48b3fad..4c87ee1 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"
>
>



\
 
 \ /
  Last update: 2008-10-17 00:43    [W:0.023 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site