summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_encoder_slave.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-12-15 12:20:58 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-15 13:41:17 +0100
commit16c3719c17d355b12fe2dac4458bd598f9204d6f (patch)
treeb96dc7fdd3e9111f710a1653895046b33b5c842e /include/drm/drm_encoder_slave.h
parentdrm: atmel-hlcdc: Fix module autoload for OF platform driver (diff)
downloadlinux-16c3719c17d355b12fe2dac4458bd598f9204d6f.tar.xz
linux-16c3719c17d355b12fe2dac4458bd598f9204d6f.zip
drm: Constify drm_encoder_slave_funcs
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Link: http://patchwork.freedesktop.org/patch/msgid/1450178476-26284-11-git-send-email-boris.brezillon@free-electrons.com Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_encoder_slave.h')
-rw-r--r--include/drm/drm_encoder_slave.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_encoder_slave.h b/include/drm/drm_encoder_slave.h
index 8b9cc3671858..82cdf611393d 100644
--- a/include/drm/drm_encoder_slave.h
+++ b/include/drm/drm_encoder_slave.h
@@ -95,7 +95,7 @@ struct drm_encoder_slave_funcs {
struct drm_encoder_slave {
struct drm_encoder base;
- struct drm_encoder_slave_funcs *slave_funcs;
+ const struct drm_encoder_slave_funcs *slave_funcs;
void *slave_priv;
void *bus_priv;
};