commit | 0f55564406d7005c2d681b14e2b7e2248d8c412d | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Tue Dec 08 21:55:27 2015 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Dec 09 08:21:10 2015 +0100 |
tree | c4c2f681b2649a8118eaa27933660e1c10e5622f | |
parent | 2b81b84471b9a58173cb4198a3e5ab5dc685c2f1 [diff] [blame] |
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
diff --git a/drivers/gpu/drm/i915/dvo_ns2501.c b/drivers/gpu/drm/i915/dvo_ns2501.c index 063859f..2379c33 100644 --- a/drivers/gpu/drm/i915/dvo_ns2501.c +++ b/drivers/gpu/drm/i915/dvo_ns2501.c
@@ -698,7 +698,7 @@ } } -struct intel_dvo_dev_ops ns2501_ops = { +const struct intel_dvo_dev_ops ns2501_ops = { .init = ns2501_init, .detect = ns2501_detect, .mode_valid = ns2501_mode_valid,