From: zhengbin Date: Mon, 11 Nov 2019 09:33:13 +0000 (+0800) Subject: drm/amd/display: Use static const, not const static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=39a502c882e5a571041bb2e2b5b2c7f883c6505d;p=linux.git drm/amd/display: Use static const, not const static Move the static keyword to the front of declarations. Reported-by: Hulk Robot Signed-off-by: zhengbin Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index 1fa255e077d0a..7f796a4c73d4a 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