Staging: comedi: comedi_test.c should include timer.h
Subsystems (2)
PATCH 1/2 Staging: comedi: comedi_test.c should include timer.h
Fix this build error:.../comedi_test.c:82: error: field timer has incomplete type .../comedi_test.c: In function waveform_ai_interrupt:.../comedi_test.c:188: error: implicit declaration of function mod_timer .../comedi_test.c:188: error: jiffies undeclared (first use in this function)
--- drivers/staging/comedi/drivers/comedi_test.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/comedi/drivers/comedi_test.c +1 -0
@@ -55,6 +55,7 @@ zero volts).#include <asm/div64.h> #include "comedi_fc.h" +#include <linux/timer.h> /* Board descriptions */ struct waveform_board {
Signature · 1 line
1.6.3
PATCH 2/2 Staging: comedi: data.c should include delay.h
Fix this build error:.../data.c:86: error: implicit declaration of function 'udelay'
--- drivers/staging/comedi/kcomedilib/data.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/comedi/kcomedilib/data.c +1 -0
@@ -26,6 +26,7 @@#include "../comedidev.h" #include <linux/string.h> +#include <asm/delay.h> int comedi_data_write (void *dev,unsigned int subdev,unsigned int chan,unsigned int range,unsigned int aref,unsigned int data)
Signature · 1 line
1.6.3
Re: [PATCH 2/2] Staging: comedi: data.c should include delay.h
Fix this build error:.../data.c:86: error: implicit declaration of function 'udelay'
---
This one is better.
drivers/staging/comedi/kcomedilib/data.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/staging/comedi/kcomedilib/data.c +1 -0
@@ -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)
Re: [PATCH 2/2] Staging: comedi: data.c should include delay.h
2009/5/13 Alexander Beregalov <[email protected]>:
Quoted 5 lines
Fix this build error:
.../data.c:86: error: implicit declaration of function 'udelay'Signed-off-by Alexander Beregalov <[email protected]>---
Greg,
Please apply instead my another patch, which includes delay.h in comedidev.h.
Re: [PATCH 2/2] Staging: comedi: data.c should include delay.h
Quoted 9 lines · Alexander Beregalov
2009/5/13 Alexander Beregalov <[email protected]>:
Quoted 5 lines
Fix this build error:
.../data.c:86: error: implicit declaration of function 'udelay'Signed-off-by Alexander Beregalov <[email protected]>---
Greg,
Please apply instead my another patch, which includesdelay.hincomedidev.h.
Ok, will do.
thanks,
greg k-h