aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring2018-02-14 17:06:46 -0600
committerRob Herring2018-02-20 14:15:58 -0600
commit652bcea5a609ab6de1f54d2143968c954a37e959 (patch)
tree0fcffb42f3c9f2a41362af5f647c0e7b83bfd407
parent5db7bf41b27d7445f2920a938c780920b6c27851 (diff)
downloadexternal-libdrm-652bcea5a609ab6de1f54d2143968c954a37e959.tar.gz
external-libdrm-652bcea5a609ab6de1f54d2143968c954a37e959.tar.xz
external-libdrm-652bcea5a609ab6de1f54d2143968c954a37e959.zip
android: fix mis-named alloc_handle_t
Fix a typo where alloc_handle_t should be gralloc_handle_t. One still remains in gralloc_handle_create, but a subsequent commit will fix that along with other problems in gralloc_handle_create. Reviewed-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--android/gralloc_handle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h
index b035e035..b0f5048c 100644
--- a/android/gralloc_handle.h
+++ b/android/gralloc_handle.h
@@ -73,7 +73,7 @@ struct gralloc_handle_t {
73#define GRALLOC_HANDLE_MAGIC 0x60585350 73#define GRALLOC_HANDLE_MAGIC 0x60585350
74#define GRALLOC_HANDLE_NUM_FDS 1 74#define GRALLOC_HANDLE_NUM_FDS 1
75#define GRALLOC_HANDLE_NUM_INTS ( \ 75#define GRALLOC_HANDLE_NUM_INTS ( \
76 ((sizeof(struct alloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \ 76 ((sizeof(struct gralloc_handle_t) - sizeof(native_handle_t))/sizeof(int)) \
77 - GRALLOC_HANDLE_NUM_FDS) 77 - GRALLOC_HANDLE_NUM_FDS)
78 78
79/** 79/**