summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/dvo_ch7xxx.c
diff options
context:
space:
mode:
authorJulia Lawall2015-12-08 21:55:27 +0100
committerDaniel Vetter2015-12-09 08:21:10 +0100
commit0f55564406d7005c2d681b14e2b7e2248d8c412d (patch)
treec4c2f681b2649a8118eaa27933660e1c10e5622f /drivers/gpu/drm/i915/dvo_ch7xxx.c
parentdrm/i915/kbl: drm/i915: Avoid GuC loading for now on Kabylake. (diff)
downloadkernel-qcow2-linux-0f55564406d7005c2d681b14e2b7e2248d8c412d.tar.gz
kernel-qcow2-linux-0f55564406d7005c2d681b14e2b7e2248d8c412d.tar.xz
kernel-qcow2-linux-0f55564406d7005c2d681b14e2b7e2248d8c412d.zip
drm/i915: constify intel_dvo_dev_ops structures
The intel_dvo_dev_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1449608127-21715-1-git-send-email-Julia.Lawall@lip6.fr
Diffstat (limited to 'drivers/gpu/drm/i915/dvo_ch7xxx.c')
-rw-r--r--drivers/gpu/drm/i915/dvo_ch7xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/dvo_ch7xxx.c b/drivers/gpu/drm/i915/dvo_ch7xxx.c
index 4b4acc1a06fe..44b3159f2fe8 100644
--- a/drivers/gpu/drm/i915/dvo_ch7xxx.c
+++ b/drivers/gpu/drm/i915/dvo_ch7xxx.c
@@ -356,7 +356,7 @@ static void ch7xxx_destroy(struct intel_dvo_device *dvo)
}
}
-struct intel_dvo_dev_ops ch7xxx_ops = {
+const struct intel_dvo_dev_ops ch7xxx_ops = {
.init = ch7xxx_init,
.detect = ch7xxx_detect,
.mode_valid = ch7xxx_mode_valid,