Staging: comedi: data.c should include delay.h
authorAlexander Beregalov <a.beregalov@gmail.com>
Wed, 13 May 2009 13:23:42 +0000 (17:23 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:34 +0000 (11:00 -0700)
Fix this build error:
.../data.c:86: error: implicit declaration of function 'udelay'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/kcomedilib/data.c

index 3e5fe2c..d808556 100644 (file)
@@ -26,6 +26,7 @@
 #include "../comedidev.h"
 
 #include <linux/string.h>
+#include <linux/delay.h>
 
 int comedi_data_write(void *dev, unsigned int subdev, unsigned int chan,
        unsigned int range, unsigned int aref, unsigned int data)