[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4A295FA2.1060401@oracle.com>
Date: Fri, 05 Jun 2009 11:10:42 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
devel@...verdev.osuosl.org
CC: Greg KH <gregkh@...e.de>
Subject: comedi: uses udelay, needs delay.h
From: Randy Dunlap <randy.dunlap@...cle.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@...cle.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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists