drm/amd/display: Use static const, not const static
authorzhengbin <zhengbin13@huawei.com>
Mon, 11 Nov 2019 09:33:13 +0000 (17:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:45 +0000 (15:29 -0500)
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>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 1fa255e..7f796a4 100644 (file)
@@ -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