mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
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>
This commit is contained in:
parent
c265be0121
commit
ab3cb2e30e
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
#define _COMEDIDEV_H
|
||||
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
|
||||
#include "comedi.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue