From: Ran Sun Date: Fri, 21 Jul 2023 01:31:10 +0000 (+0800) Subject: drm/amd: open brace '{' following struct go on the same line X-Git-Tag: v6.6-rc1~136^2~18^2~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de84de1eda9a10044bd4fe8245e1d7a2bbf52362;p=thirdparty%2Flinux.git 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 Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/include/yellow_carp_offset.h b/drivers/gpu/drm/amd/include/yellow_carp_offset.h index 0fea6a746611b..a2c8dca2425e5 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;