drm: remove const attribute to hint at caller that they now own the memory

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Eric Engestrom
2016-08-15 16:29:55 +01:00
committed by Daniel Vetter
parent b0f566838c
commit d382814707
12 changed files with 18 additions and 18 deletions

View File

@@ -2071,7 +2071,7 @@ static int dce_v10_0_crtc_do_set_base(struct drm_crtc *crtc,
u32 tmp, viewport_w, viewport_h;
int r;
bool bypass_lut = false;
const char *format_name;
char *format_name;
/* no fb bound */
if (!atomic && !crtc->primary->fb) {

View File

@@ -2046,7 +2046,7 @@ static int dce_v11_0_crtc_do_set_base(struct drm_crtc *crtc,
u32 tmp, viewport_w, viewport_h;
int r;
bool bypass_lut = false;
const char *format_name;
char *format_name;
/* no fb bound */
if (!atomic && !crtc->primary->fb) {

View File

@@ -1952,7 +1952,7 @@ static int dce_v8_0_crtc_do_set_base(struct drm_crtc *crtc,
u32 viewport_w, viewport_h;
int r;
bool bypass_lut = false;
const char *format_name;
char *format_name;
/* no fb bound */
if (!atomic && !crtc->primary->fb) {