Skip to contentSkip to conversation

drm/amd/display: Use static const, not const static

PATCH Applied zhengbin 2 participants 2 messages Nov 11, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

zhengbin

author
#0 lore raw

PATCH 1/1 drm/amd/display: Use static const, not const static

Move the static keyword to the front of declarations.

---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +1 -1
index 1fdba13..0d8c663 100644
@@ -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

--
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1573464793-34901-1-git-send-email-zhengbin13-hv44wF8Li93QT0dZR+AlfA@public.gmane.org

Applied
#2 lore raw

Applied. Thanks!

Alex

Quoted 25 lines · zhengbin

Move the static keyword to the front of declarations.

---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +1 -2
index 1fdba13..0d8c663 100644
@@ -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
--

2.7.4

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx