amdgpu/dm: constify yuv_formats.

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>
This commit is contained in:
Dave Airlie 2017-09-29 10:27:41 +10:00 committed by Alex Deucher
parent b8a1d69ccb
commit 99d1abf8f4
1 changed files with 1 additions and 1 deletions

View File

@ -3073,7 +3073,7 @@ static uint32_t rgb_formats[] = {
DRM_FORMAT_ABGR2101010,
};
static uint32_t yuv_formats[] = {
static const uint32_t yuv_formats[] = {
DRM_FORMAT_NV12,
DRM_FORMAT_NV21,
};