diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-06-05 11:10:42 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:34 -0700 |
commit | f9c51375644e39f9626a4be4101e22d4841980a8 (patch) | |
tree | 5a952db0cdc26beecd6686eb4c2329af3b5eaa59 | |
parent | 3a5e32ddcb04d7a2bed86323ca22da51d3a810bd (diff) |
Staging: comedi: uses udelay, needs delay.h
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/comedidev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index 7a1ccde83589..a54cc3137da5 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/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> |