aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Sun <[email protected]>2023-07-21 09:31:10 +0800
committerAlex Deucher <[email protected]>2023-07-25 13:43:50 -0400
commitde84de1eda9a10044bd4fe8245e1d7a2bbf52362 (patch)
tree2ffd9fca361bb553efa69c73aaa160f7cc2a53f3
parent8214b5b6f049235e7821d7a5918e29623da8b21d (diff)
drm/amd: open brace '{' following struct go on the same line
Fix the checkpatch error as open brace '{' following struct should go on the same line. Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/include/yellow_carp_offset.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/include/yellow_carp_offset.h b/drivers/gpu/drm/amd/include/yellow_carp_offset.h
index 0fea6a746611..a2c8dca2425e 100644
--- a/drivers/gpu/drm/amd/include/yellow_carp_offset.h
+++ b/drivers/gpu/drm/amd/include/yellow_carp_offset.h
@@ -7,13 +7,11 @@
#define MAX_SEGMENT 6
-struct IP_BASE_INSTANCE
-{
+struct IP_BASE_INSTANCE {
unsigned int segment[MAX_SEGMENT];
} __maybe_unused;
-struct IP_BASE
-{
+struct IP_BASE {
struct IP_BASE_INSTANCE instance[MAX_INSTANCE];
} __maybe_unused;