diff options
| author | Julia Lawall <[email protected]> | 2015-12-30 21:20:30 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2016-01-04 07:09:58 +0000 |
| commit | 69a0f89c0641668d402573a05b327ac8ed6d2560 (patch) | |
| tree | 59b89947209969afaaaefc340a5e740e668cbdd7 /drivers/gpu/drm/i915/intel_dp_mst.c | |
| parent | drm/gma500: use to_pci_dev() (diff) | |
| download | kernel-69a0f89c0641668d402573a05b327ac8ed6d2560.tar.gz kernel-69a0f89c0641668d402573a05b327ac8ed6d2560.zip | |
drm/dp/mst: constify drm_dp_mst_topology_cbs structures
The drm_dp_mst_topology_cbs structures are never modified, so declare them
as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index e8d369d0a713..9ae1a4fc5bb1 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -512,7 +512,7 @@ static void intel_dp_mst_hotplug(struct drm_dp_mst_topology_mgr *mgr) drm_kms_helper_hotplug_event(dev); } -static struct drm_dp_mst_topology_cbs mst_cbs = { +static const struct drm_dp_mst_topology_cbs mst_cbs = { .add_connector = intel_dp_add_mst_connector, .register_connector = intel_dp_register_mst_connector, .destroy_connector = intel_dp_destroy_mst_connector, |
