summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRom Lemarchand <romlem@google.com>2013-10-24 11:22:55 -0700
committerAndreas Schneider <asn@cryptomilk.org>2015-07-08 10:19:10 +0200
commit4adc23ad9ab0c23d45203f75117650ad356261ee (patch)
tree47fe4d45b593ad1715b44249445b596d98f78f94 /include
parent1c3b3a15333235f995f16eb8df1433e48f2daf34 (diff)
downloadandroid_hardware_samsung_slsi_exynos5430-4adc23ad9ab0c23d45203f75117650ad356261ee.tar.gz
android_hardware_samsung_slsi_exynos5430-4adc23ad9ab0c23d45203f75117650ad356261ee.tar.xz
android_hardware_samsung_slsi_exynos5430-4adc23ad9ab0c23d45203f75117650ad356261ee.zip
gralloc: replace struct ion_handle with ion_user_handle_t
Replace struct ion_handle with ion_user_handle_t to match new kernel headers Change-Id: Iefff2036f01dccbd47f0f0e6eef09e804e1e2ea0
Diffstat (limited to 'include')
-rwxr-xr-xinclude/gralloc_priv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/gralloc_priv.h b/include/gralloc_priv.h
index f835f09..1e51f31 100755
--- a/include/gralloc_priv.h
+++ b/include/gralloc_priv.h
@@ -33,6 +33,7 @@
struct private_module_t;
struct private_handle_t;
+typedef int ion_user_handle_t;
struct private_module_t {
gralloc_module_t base;
@@ -94,9 +95,9 @@ struct private_handle_t {
void *base;
void *base1;
void *base2;
- struct ion_handle *handle;
- struct ion_handle *handle1;
- struct ion_handle *handle2;
+ ion_user_handle_t handle;
+ ion_user_handle_t handle1;
+ ion_user_handle_t handle2;
#ifdef __cplusplus
static const int sNumFds = 3;