summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--exynos4/hal/include/gralloc_priv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/exynos4/hal/include/gralloc_priv.h b/exynos4/hal/include/gralloc_priv.h
index 8ffd161..0c32fc6 100644
--- a/exynos4/hal/include/gralloc_priv.h
+++ b/exynos4/hal/include/gralloc_priv.h
@@ -135,7 +135,13 @@ struct private_handle_t {
int ion_client;
/* Following members ard for YUV information */
+#ifdef USELESS_SEC_YADDR
+ /* Samsung Mobile's blobs don't appear to be using yaddr
+ * in their header file, and none of the source uses it
+ * anywhere
+ */
unsigned int yaddr;
+#endif
unsigned int uoffset;
unsigned int voffset;
@@ -164,7 +170,9 @@ struct private_handle_t {
bpp(0),
stride(0),
ion_client(0),
+#ifdef USELESS_SEC_YADDR
yaddr(0),
+#endif
uoffset(0),
voffset(0)
{
@@ -193,7 +201,9 @@ struct private_handle_t {
bpp(0),
stride(0),
ion_client(0),
+#ifdef USELESS_SEC_YADDR
yaddr(0),
+#endif
uoffset(0),
voffset(0)
{