summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-11-11 12:33:13 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-11-13 23:29:45 +0300
commit39a502c882e5a571041bb2e2b5b2c7f883c6505d (patch)
treeb226c1a60e4ea72835eaace56618b8c745e79df2 /drivers
parent4bf321c177c74f7d834956387cd74805c3098322 (diff)
downloadlinux-39a502c882e5a571041bb2e2b5b2c7f883c6505d.tar.xz
drm/amd/display: Use static const, not const static
Move the static keyword to the front of declarations. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 1fa255e077d0..7f796a4c73d4 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -69,7 +69,7 @@
#define DC_LOGGER \
dc->ctx->logger
-const static char DC_BUILD_ID[] = "production-build";
+static const char DC_BUILD_ID[] = "production-build";
/**
* DOC: Overview