* comedi: uses udelay, needs delay.h
@ 2009-06-05 18:10 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2009-06-05 18:10 UTC (permalink / raw)
To: Linux Kernel Mailing List, devel; +Cc: Greg KH
From: Randy Dunlap <randy.dunlap@oracle.com>
comedi driver(s) use udelay() so they need to #include delay.h.
drivers/staging/comedi/drivers/adq12b.c: In function 'adq12b_ai_rinsn':
drivers/staging/comedi/drivers/adq12b.c:328: error: implicit declaration of function 'udelay'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/staging/comedi/comedidev.h | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20090605.orig/drivers/staging/comedi/comedidev.h
+++ linux-next-20090605/drivers/staging/comedi/comedidev.h
@@ -28,6 +28,7 @@
#include <linux/module.h>
#include <linux/kdev_t.h>
#include <linux/slab.h>
+#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
--
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-05 18:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 18:10 comedi: uses udelay, needs delay.h Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox