diff options
author | Gurchetan Singh <gurchetansingh@chromium.org> | 2017-10-31 10:36:25 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-08 15:10:09 -0800 |
commit | 3e9d3830dce97cb0146b9f6e0f4942253f39ca69 (patch) | |
tree | 1a4bb493e39839e13d27136452ac3c42c5c1a33b /rockchip.c | |
parent | a29bf678db525bf0e11105f9f660fbb4e062750d (diff) |
minigbm: re-const-ify driver backends
minigbm driver creation needs to be re-entrant (see CL:674528). Let's
re-constify to make this behavior explicit.
BUG=none
TEST=emerge-eve {minigbm, arc-cros-gralloc}
Change-Id: I037966199d4aa6de60432127e10fea1fb602694b
Reviewed-on: https://chromium-review.googlesource.com/758142
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Diffstat (limited to 'rockchip.c')
-rw-r--r-- | rockchip.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -314,7 +314,7 @@ static uint32_t rockchip_resolve_format(uint32_t format, uint64_t use_flags) } } -struct backend backend_rockchip = { +const struct backend backend_rockchip = { .name = "rockchip", .init = rockchip_init, .bo_create = rockchip_bo_create, |