summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2013-11-08 19:03:23 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-12 04:16:43 +0400
commitab3cb2e30ec8223777f6ea4696ba24191ffc5c72 (patch)
tree3d18e845a3ddfe2d5abed9507518e26943a596ab
parentc265be0121154709a0b16f13c87ff58245ba81bc (diff)
downloadlinux-ab3cb2e30ec8223777f6ea4696ba24191ffc5c72.tar.xz
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"