Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexander Beregalov and committed by
Greg Kroah-Hartman
c3e2354e de4545cd

+1
+1
drivers/staging/comedi/kcomedilib/data.c
··· 26 26 #include "../comedidev.h" 27 27 28 28 #include <linux/string.h> 29 + #include <linux/delay.h> 29 30 30 31 int comedi_data_write(void *dev, unsigned int subdev, unsigned int chan, 31 32 unsigned int range, unsigned int aref, unsigned int data)