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:
Родитель
c265be0121
Коммит
ab3cb2e30e
|
@ -20,6 +20,8 @@
|
|||
#define _COMEDIDEV_H
|
||||
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/spinlock_types.h>
|
||||
|
||||
#include "comedi.h"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче