aboutsummaryrefslogtreecommitdiff
path: root/include/video/adf_memblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/adf_memblock.h')
-rw-r--r--include/video/adf_memblock.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/video/adf_memblock.h b/include/video/adf_memblock.h
new file mode 100644
index 00000000000..6256e0eebcc
--- /dev/null
+++ b/include/video/adf_memblock.h
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2013 Google, Inc.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef _VIDEO_ADF_MEMBLOCK_H_
+#define _VIDEO_ADF_MEMBLOCK_H_
+
+struct dma_buf *adf_memblock_export(phys_addr_t base, size_t size, int flags);
+
+#endif /* _VIDEO_ADF_MEMBLOCK_H_ */