summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_dp_mst_helper.h
diff options
context:
space:
mode:
authorJulia Lawall2015-12-30 22:20:30 +0100
committerDaniel Vetter2016-01-04 08:09:58 +0100
commit69a0f89c0641668d402573a05b327ac8ed6d2560 (patch)
tree59b89947209969afaaaefc340a5e740e668cbdd7 /include/drm/drm_dp_mst_helper.h
parentdrm/gma500: use to_pci_dev() (diff)
downloadkernel-qcow2-linux-69a0f89c0641668d402573a05b327ac8ed6d2560.tar.gz
kernel-qcow2-linux-69a0f89c0641668d402573a05b327ac8ed6d2560.tar.xz
kernel-qcow2-linux-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 <Julia.Lawall@lip6.fr> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_dp_mst_helper.h')
-rw-r--r--include/drm/drm_dp_mst_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_dp_mst_helper.h b/include/drm/drm_dp_mst_helper.h
index 5340099741ae..16663713cc9f 100644
--- a/include/drm/drm_dp_mst_helper.h
+++ b/include/drm/drm_dp_mst_helper.h
@@ -420,7 +420,7 @@ struct drm_dp_payload {
struct drm_dp_mst_topology_mgr {
struct device *dev;
- struct drm_dp_mst_topology_cbs *cbs;
+ const struct drm_dp_mst_topology_cbs *cbs;
int max_dpcd_transaction_bytes;
struct drm_dp_aux *aux; /* auxch for this topology mgr to use */
int max_payloads;