From 8e00d5ffbda7ae7ef6e33aa51aa71a0bf347f488 Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Tue, 16 Jan 2018 14:38:41 +0100 Subject: android: Remove member name from gralloc_handle_t The name member of gralloc_handle_t is no longer needed and has been removed. The version field has also been bumped. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- android/gralloc_handle.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h index 5d8a19ea..9648b006 100644 --- a/android/gralloc_handle.h +++ b/android/gralloc_handle.h @@ -59,7 +59,6 @@ struct gralloc_handle_t { int format; /* pixel format (Android) */ int usage; /* android libhardware usage flags */ - int name; /* the name of the bo */ int stride; /* the stride in bytes */ uint64_t modifier; /* buffer modifiers */ @@ -70,7 +69,7 @@ struct gralloc_handle_t { } __attribute__((aligned(8))); }; -#define GRALLOC_HANDLE_VERSION 1 +#define GRALLOC_HANDLE_VERSION 2 #define GRALLOC_HANDLE_MAGIC 0x60585350 #define GRALLOC_HANDLE_NUM_FDS 1 #define GRALLOC_HANDLE_NUM_INTS ( \ -- cgit v1.2.3