summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/hisilicon
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2016-08-15 16:29:55 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-08-16 14:06:53 +0200
commitd3828147079551189e1350c6676cd961de904cf2 (patch)
tree2014ff02800e6a6b3a01776e6c1e032a3079e645 /drivers/gpu/drm/hisilicon
parentb0f566838cfe086a96bffd9c67dd8844a41870ea (diff)
downloadtalos-obmc-linux-d3828147079551189e1350c6676cd961de904cf2.tar.gz
talos-obmc-linux-d3828147079551189e1350c6676cd961de904cf2.zip
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>
Diffstat (limited to 'drivers/gpu/drm/hisilicon')
-rw-r--r--drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
index ac7fa02b341f..eaa3df75fc5c 100644
--- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
+++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
@@ -608,7 +608,7 @@ static void ade_rdma_set(void __iomem *base, struct drm_framebuffer *fb,
u32 ch, u32 y, u32 in_h, u32 fmt)
{
struct drm_gem_cma_object *obj = drm_fb_cma_get_gem_obj(fb, 0);
- const char *format_name;
+ char *format_name;
u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en;
u32 stride = fb->pitches[0];
u32 addr = (u32)obj->paddr + y * stride;
OpenPOWER on IntegriCloud