aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRom Lemarchand <romlem@google.com>2013-10-23 19:30:58 -0700
committerRom Lemarchand <romlem@google.com>2013-10-24 20:21:09 +0000
commitdcd2da8015c7ac2da6f57fc0d8c15b80e44c4aed (patch)
tree2e369432f8d38c4d4b0377ef3e94ccd110c41cae /include
parent50ce1106dc0d0e9a631795b5c51ae171d62c9910 (diff)
ion: change ion_user_handle_t definition to int
Turn ion_user_handle_t to int. This change reflects the underlying type returned by the ion driver. Change-Id: I40390dae8138327769510525bf62e55877a4b37d Signed-off-by: Rom Lemarchand <romlem@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ion.h b/include/linux/ion.h
index 40ea332ebfa2..5771f8c3d3ac 100644
--- a/include/linux/ion.h
+++ b/include/linux/ion.h
@@ -19,8 +19,7 @@
#include <linux/types.h>
-struct ion_handle;
-typedef struct ion_handle *ion_user_handle_t;
+typedef int ion_user_handle_t;
/**
* enum ion_heap_types - list of all possible types of heaps
@@ -65,6 +64,7 @@ enum ion_heap_type {
caches must be managed manually */
#ifdef __KERNEL__
+struct ion_handle;
struct ion_device;
struct ion_heap;
struct ion_mapper;