summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-09-29 10:32:23 +1000
committerAlex Deucher <alexander.deucher@amd.com>2017-09-29 13:01:02 -0400
commite04a6123a45abf6836f547e679a8f9aca37ceeb6 (patch)
treea69d32956e77fdf9991e379dd6a0610a4cc43f95 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parent99d1abf8f41ed2c256e8cca7e9da71d751894c7f (diff)
downloadop-kernel-dev-e04a6123a45abf6836f547e679a8f9aca37ceeb6.zip
op-kernel-dev-e04a6123a45abf6836f547e679a8f9aca37ceeb6.tar.gz
amdgpu/dm: constify plane type.
Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index b541ade..59e2e5d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@ -361,7 +361,7 @@ struct amdgpu_mode_info {
int num_dig; /* number of dig blocks */
int disp_priority;
const struct amdgpu_display_funcs *funcs;
- enum drm_plane_type *plane_type;
+ const enum drm_plane_type *plane_type;
};
#define AMDGPU_MAX_BL_LEVEL 0xFF
OpenPOWER on IntegriCloud