lkml.org 
[lkml]   [2008]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[mmotm 02/Oct] fix buid error of autodetect_raid()
Date
Patch against: mmotm 02 Oct
Applied after: git-fastboot.patch


fix following build error

> CC init/do_mounts_md.o
>init/do_mounts_md.c: In function 'autodetect_raid':
>init/do_mounts_md.c:278: error: implicit declaration of function 'msleep'
>make[1]: *** [init/do_mounts_md.o] Error 1
>make: *** [init] Error 2

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
CC: Arjan van de Ven <arjan@linux.intel.com>
CC: Ingo Molnar <mingo@elte.hu>
---
init/do_mounts_md.c | 1 +
1 file changed, 1 insertion(+)

Index: b/init/do_mounts_md.c
===================================================================
--- 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-04 12:13    [W:0.072 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site