]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: comedi: add a couple of #includes to comedidev.h
authorIan Abbott <abbotti@mev.co.uk>
Fri, 8 Nov 2013 15:03:23 +0000 (15:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2013 00:16:43 +0000 (16:16 -0800)
Two structures defined in "comedidev.h" have an element of type
`spinlock_t`, so add `#include <linux/spinlock_types.h>` to declare it.
One structure has an element of type `struct mutex` so add `#include
<linux/mutex.h>` to declare it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h

index 38a4eebcd8188f7cfc56200d4632e8455ed3c07e..e2432471c390283fa70034d5269bedb7e19db03e 100644 (file)
@@ -20,6 +20,8 @@
 #define _COMEDIDEV_H
 
 #include <linux/dma-mapping.h>
+#include <linux/mutex.h>
+#include <linux/spinlock_types.h>
 
 #include "comedi.h"