summaryrefslogtreecommitdiff
path: root/gralloc/gralloc_gbm_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc/gralloc_gbm_priv.h')
-rw-r--r--gralloc/gralloc_gbm_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc/gralloc_gbm_priv.h b/gralloc/gralloc_gbm_priv.h
index 7174fb8..d0326c5 100644
--- a/gralloc/gralloc_gbm_priv.h
+++ b/gralloc/gralloc_gbm_priv.h
@@ -43,7 +43,7 @@ struct gbm_bo *gralloc_gbm_bo_from_handle(buffer_handle_t handle);
buffer_handle_t gralloc_gbm_bo_get_handle(struct gbm_bo *bo);
int gralloc_gbm_get_gem_handle(buffer_handle_t handle);
-int gralloc_gbm_bo_lock(buffer_handle_t handle, int x, int y, int w, int h, int enable_write, void **addr);
+int gralloc_gbm_bo_lock(buffer_handle_t handle, int usage, int x, int y, int w, int h, void **addr);
int gralloc_gbm_bo_unlock(buffer_handle_t handle);
struct gbm_device *gbm_dev_create(void);