aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_fourcc.h
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2016-08-15 16:29:55 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-08-16 14:06:53 +0200
commitd3828147079551189e1350c6676cd961de904cf2 (patch)
tree2014ff02800e6a6b3a01776e6c1e032a3079e645 /include/drm/drm_fourcc.h
parentdrm/mgag200: fix error return code in mgag200fb_create() (diff)
downloadlinux-dev-d3828147079551189e1350c6676cd961de904cf2.tar.xz
linux-dev-d3828147079551189e1350c6676cd961de904cf2.zip
drm: remove `const` attribute to hint at caller that they now own the memory
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_fourcc.h')
-rw-r--r--include/drm/drm_fourcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index 030d22d3ed96..b106337de1bf 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -32,6 +32,6 @@ int drm_format_horz_chroma_subsampling(uint32_t format);
int drm_format_vert_chroma_subsampling(uint32_t format);
int drm_format_plane_width(int width, uint32_t format, int plane);
int drm_format_plane_height(int height, uint32_t format, int plane);
-const char *drm_get_format_name(uint32_t format) __malloc;
+char *drm_get_format_name(uint32_t format) __malloc;
#endif /* __DRM_FOURCC_H__ */