Commit 85eebdf4 authored by Daniel Stone's avatar Daniel Stone

compositor-drm: Property accessor can be const

Since it doesn't write to the parameter, we can make it const.
Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent a21c3931
......@@ -591,7 +591,7 @@ to_drm_mode(struct weston_mode *base)
*/
static uint64_t
drm_property_get_value(struct drm_property_info *info,
drmModeObjectPropertiesPtr props,
const drmModeObjectProperties *props,
uint64_t def)
{
unsigned int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment