diff options
author | Robert Foss <robert.foss@collabora.com> | 2018-01-16 15:19:15 +0100 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2018-02-14 17:33:57 +0100 |
commit | ed0ed55f3e6c2e1a460d72fed270f6243dcf92a5 (patch) | |
tree | 12f7f848ab67f90185741cca182232cbd801238c | |
parent | 76cd0af39960d0c36e7aacd4fe8d6a08f4af8ecc (diff) |
android: Mark gralloc_handle_t magic variable as const
Mark magic member of gralloc_handle_t as const.
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | android/gralloc_handle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/gralloc_handle.h b/android/gralloc_handle.h index 7cbc8ee7..5d8a19ea 100644 --- a/android/gralloc_handle.h +++ b/android/gralloc_handle.h @@ -51,7 +51,7 @@ struct gralloc_handle_t { int prime_fd; /* api variables */ - int magic; /* differentiate between allocator impls */ + const int magic; /* differentiate between allocator impls */ const uint32_t version; /* api version */ int width; /* width of buffer in pixels */ |