summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_color_mgmt.h
diff options
context:
space:
mode:
authorVille Syrjälä2019-01-29 18:06:09 +0100
committerVille Syrjälä2019-01-29 22:26:12 +0100
commit5a3db6f08a8eae15bff597dce290ac238daeb717 (patch)
tree5dae4488d6b38e3ea3b87c029ed6bc0fc4fc51ab /include/drm/drm_color_mgmt.h
parentdrm/i915/execlists: Suppress preempting self (diff)
downloadkernel-qcow2-linux-5a3db6f08a8eae15bff597dce290ac238daeb717.tar.gz
kernel-qcow2-linux-5a3db6f08a8eae15bff597dce290ac238daeb717.tar.xz
kernel-qcow2-linux-5a3db6f08a8eae15bff597dce290ac238daeb717.zip
drm: Constify drm_color_lut_check()
drm_color_lut_check() doens't modify the passed in blob so let's make it const. Also s/uint32_t/u32/ while at it. v2: Reduce line wraps (Sam) Cc: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190129170609.5718-1-ville.syrjala@linux.intel.com Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_color_mgmt.h')
-rw-r--r--include/drm/drm_color_mgmt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/drm/drm_color_mgmt.h b/include/drm/drm_color_mgmt.h
index 6affbda6d9cb..d1c662d92ab7 100644
--- a/include/drm/drm_color_mgmt.h
+++ b/include/drm/drm_color_mgmt.h
@@ -96,6 +96,5 @@ enum drm_color_lut_tests {
DRM_COLOR_LUT_NON_DECREASING = BIT(1),
};
-int drm_color_lut_check(struct drm_property_blob *lut,
- uint32_t tests);
+int drm_color_lut_check(const struct drm_property_blob *lut, u32 tests);
#endif