aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctvmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/ctvmem.h')
-rw-r--r--sound/pci/ctxfi/ctvmem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ctxfi/ctvmem.h b/sound/pci/ctxfi/ctvmem.h
index 4eb5bdd5cad4..618952efa5b3 100644
--- a/sound/pci/ctxfi/ctvmem.h
+++ b/sound/pci/ctxfi/ctvmem.h
@@ -20,7 +20,7 @@
20 20
21#define CT_PTP_NUM 1 /* num of device page table pages */ 21#define CT_PTP_NUM 1 /* num of device page table pages */
22 22
23#include <linux/spinlock.h> 23#include <linux/mutex.h>
24#include <linux/list.h> 24#include <linux/list.h>
25 25
26struct ct_vm_block { 26struct ct_vm_block {
@@ -35,6 +35,7 @@ struct ct_vm {
35 unsigned int size; /* Available addr space in bytes */ 35 unsigned int size; /* Available addr space in bytes */
36 struct list_head unused; /* List of unused blocks */ 36 struct list_head unused; /* List of unused blocks */
37 struct list_head used; /* List of used blocks */ 37 struct list_head used; /* List of used blocks */
38 struct mutex lock;
38 39
39 /* Map host addr (kmalloced/vmalloced) to device logical addr. */ 40 /* Map host addr (kmalloced/vmalloced) to device logical addr. */
40 struct ct_vm_block *(*map)(struct ct_vm *, void *host_addr, int size); 41 struct ct_vm_block *(*map)(struct ct_vm *, void *host_addr, int size);