summaryrefslogtreecommitdiffstats
path: root/driver/common.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-23 02:43:20 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-23 02:43:20 +0200
commit8af9de82916ff76129d01ede66fc4406818c525c (patch)
tree3327adb667efa9426b630ba841a16a598c0f9e0c /driver/common.h
parent24f29cbd62e9b2f30aba8f2357084baf6b70fa17 (diff)
downloadipecamera-8af9de82916ff76129d01ede66fc4406818c525c.tar.gz
ipecamera-8af9de82916ff76129d01ede66fc4406818c525c.tar.bz2
ipecamera-8af9de82916ff76129d01ede66fc4406818c525c.tar.xz
ipecamera-8af9de82916ff76129d01ede66fc4406818c525c.zip
Properly perform synchronization of DMA buffers
Diffstat (limited to 'driver/common.h')
-rw-r--r--driver/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/common.h b/driver/common.h
index e6dea5f..eba56d7 100644
--- a/driver/common.h
+++ b/driver/common.h
@@ -11,6 +11,8 @@
/* This list keeps references to the allocated kernel buffers */
typedef struct {
int id;
+ enum dma_data_direction direction;
+
struct list_head list;
dma_addr_t dma_handle;
unsigned long cpua;