summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Abbott2013-11-08 16:03:23 +0100
committerGreg Kroah-Hartman2013-11-12 01:16:43 +0100
commitab3cb2e30ec8223777f6ea4696ba24191ffc5c72 (patch)
tree3d18e845a3ddfe2d5abed9507518e26943a596ab
parentstaging: comedi: remove unused command callback support (diff)
downloadkernel-qcow2-linux-ab3cb2e30ec8223777f6ea4696ba24191ffc5c72.tar.gz
kernel-qcow2-linux-ab3cb2e30ec8223777f6ea4696ba24191ffc5c72.tar.xz
kernel-qcow2-linux-ab3cb2e30ec8223777f6ea4696ba24191ffc5c72.zip
staging: comedi: add a couple of #includes to comedidev.h
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>
-rw-r--r--drivers/staging/comedi/comedidev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 38a4eebcd818..e2432471c390 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -20,6 +20,8 @@
#define _COMEDIDEV_H
#include <linux/dma-mapping.h>
+#include <linux/mutex.h>
+#include <linux/spinlock_types.h>
#include "comedi.h"