summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ion/ion.h2
-rw-r--r--libion/ion_test.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/ion/ion.h b/include/ion/ion.h
index 018c0a1..fbd34e2 100644
--- a/include/ion/ion.h
+++ b/include/ion/ion.h
@@ -25,6 +25,8 @@
__BEGIN_DECLS
+struct ion_handle;
+
int ion_open();
int ion_close(int fd);
int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
diff --git a/libion/ion_test.c b/libion/ion_test.c
index 0caaa2a..d2c37ca 100644
--- a/libion/ion_test.c
+++ b/libion/ion_test.c
@@ -13,7 +13,6 @@
#include <ion/ion.h>
#include <linux/ion.h>
-#include <linux/omap_ion.h>
size_t len = 1024*1024, align = 0;
int prot = PROT_READ | PROT_WRITE;