summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-05-13 17:23:42 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:34 -0700
commitc3e2354e3720d51afada9ac6923517c5444d7cbb (patch)
tree6d8918783fa0bb194d12b9a97865b54ee229965a /drivers
parentde4545cdfd9f3521b3402c0228b8d4ecdd97f7ec (diff)
Staging: comedi: data.c should include delay.h
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/kcomedilib/data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/kcomedilib/data.c b/drivers/staging/comedi/kcomedilib/data.c
index 3e5fe2c87092..d808556460aa 100644
--- a/drivers/staging/comedi/kcomedilib/data.c
+++ b/drivers/staging/comedi/kcomedilib/data.c
@@ -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)