gralloc_priv: Remove unused yaddr member
Mobile's blobs don't appear to have been compiled with this
present in their headers, and none of the Insignal sources
actually use this.
Change-Id: Ib8611f6da90ea78aa8eec451c76f56ddb32b45a4
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 @@
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 @@
bpp(0),
stride(0),
ion_client(0),
+#ifdef USELESS_SEC_YADDR
yaddr(0),
+#endif
uoffset(0),
voffset(0)
{
@@ -193,7 +201,9 @@
bpp(0),
stride(0),
ion_client(0),
+#ifdef USELESS_SEC_YADDR
yaddr(0),
+#endif
uoffset(0),
voffset(0)
{