summaryrefslogtreecommitdiff
path: root/gralloc
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-05-01 12:28:35 -0700
committerJohn Stultz <john.stultz@linaro.org>2018-07-11 15:59:25 -0700
commit29a9ca7da1035e2ae4a4c7f8d605f90c6395e12e (patch)
tree815aea4c7022727ed68b210b4d41a0919e575205 /gralloc
parent1e2c80bd71e1944c8e992684e4ac38ea45db68c5 (diff)
downloadhikey-29a9ca7da1035e2ae4a4c7f8d605f90c6395e12e.tar.gz
gralloc/gralloc960: Drop linux/ion.h references as its gone
Bionic dropped the linux/ion.h header, so make sure we don't try to include it and cause build errors. Change-Id: I6af15f1bd2b53e7d5dd29a93295bfc09df36ab62 Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'gralloc')
-rw-r--r--gralloc/alloc_device.cpp1
-rw-r--r--gralloc/gralloc_module.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/gralloc/alloc_device.cpp b/gralloc/alloc_device.cpp
index 076cb5ce..fe3f14f0 100644
--- a/gralloc/alloc_device.cpp
+++ b/gralloc/alloc_device.cpp
@@ -39,7 +39,6 @@
#endif
#if GRALLOC_ARM_DMA_BUF_MODULE
-#include <linux/ion.h>
#include <ion/ion.h>
#include "ion_4.12.h"
#endif
diff --git a/gralloc/gralloc_module.cpp b/gralloc/gralloc_module.cpp
index 84054736..4937b596 100644
--- a/gralloc/gralloc_module.cpp
+++ b/gralloc/gralloc_module.cpp
@@ -37,7 +37,6 @@ static int s_ump_is_open = 0;
#endif
#if GRALLOC_ARM_DMA_BUF_MODULE
-#include <linux/ion.h>
#include <ion/ion.h>
#include <sys/mman.h>
#endif