diff options
| author | Thierry Reding <[email protected]> | 2014-05-13 09:38:36 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2014-11-13 09:43:49 +0000 |
| commit | 12e6cecd55e541d3e8110f7dfbb6a601e81733ff (patch) | |
| tree | b37309d828e2527a487881a9ec8d92e84913ce9f /drivers/gpu/drm/i915/intel_dp_mst.c | |
| parent | drm: Use size_t for blob property sizes (diff) | |
| download | kernel-12e6cecd55e541d3e8110f7dfbb6a601e81733ff.tar.gz kernel-12e6cecd55e541d3e8110f7dfbb6a601e81733ff.zip | |
drm: Use const data when creating blob properties
Creating a blob property will always copy the input data so the data
that is passed in can be const.
Signed-off-by: Thierry Reding <[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 d9a7a7865f66..eb023d6eafb6 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c @@ -393,7 +393,7 @@ static void intel_connector_remove_from_fbdev(struct intel_connector *connector) #endif } -static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, char *pathprop) +static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, const char *pathprop) { struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst_mgr); struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); |
