Staging: comedi: comedidev should include delay.h
Subsystems (2)
PATCH 1/1 Staging: comedi: comedidev should include delay.h
Fix many build errors like this:comedi/drivers/adq12b.c:328: error: implicit declaration of function 'udelay'
The same for aio_aio12_8.c, dmm32at.c and others.
--- drivers/staging/comedi/comedidev.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/comedi/comedidev.h +1 -0
@@ -38,6 +38,7 @@#include <linux/dma-mapping.h> #include <linux/uaccess.h> #include <linux/io.h> +#include <linux/delay.h> #include "comedi.h"
Signature · 1 line
1.6.3.1
Quoted 15 lines · Alexander Beregalov
Fix many build errors like this:
comedi/drivers/adq12b.c:328: error: implicit declaration of function 'udelay'The same for
aio_aio12_8.c,dmm32at.cand others.Signed-off-by Alexander Beregalov <[email protected]>--- drivers/staging/comedi/comedidev.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/staging/comedi/comedidev.h +0
-0
drivers/staging/comedi/comedidev.h line 43
Quoted 6 lines
drivers/staging/comedi/comedidev.h +1
-0@@ -38,6 +38,7 @@#include <linux/dma-mapping.h> #include <linux/uaccess.h> #include <linux/io.h> +#include <linux/delay.h> #include "comedi.h"
not sure it's worth noting but the header comedidev.h currently
resides in the comedi directory itself, while the source file rt.c contains:
#include <linux/comedidev.h>
which doesn't seem right. and that local comedidev.h header file contains the comment:
/*
include/linux/comedidev.h
as if it *were* really under include/linux. perhaps someone would like to clarify that. just an observation.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca Linked In: http://www.linkedin.com/in/rpjday Twitter: http://twitter.com/rpjday
========================================================================
Quoted 28 lines · Robert P. J. Day
Quoted 15 lines · Alexander Beregalov
Fix many build errors like this:
comedi/drivers/adq12b.c:328: error: implicit declaration of function 'udelay'The same for
aio_aio12_8.c,dmm32at.cand others.Signed-off-by Alexander Beregalov <[email protected]>--- drivers/staging/comedi/comedidev.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/staging/comedi/comedidev.h +0
-0drivers/staging/comedi/comedidev.h line 43
Quoted 6 lines
drivers/staging/comedi/comedidev.h +1
-0@@ -38,6 +38,7 @@#include <linux/dma-mapping.h> #include <linux/uaccess.h> #include <linux/io.h> +#include <linux/delay.h> #include "comedi.h" not sure it's worth noting but the header
comedidev.hcurrently
resides in the comedi directory itself, while the source filert.ccontains:
Quoted 3 lines
#include <
linux/comedidev.h>which doesn't seem right.
That's correct, and is one reason why rt.c is now gone in the linux-next tree :)
thanks,
greg k-h