Commit 6080a591 authored by XueBing Chen's avatar XueBing Chen Committed by Alex Deucher

drm/radeon/dpm: Clean up errors in evergreen_smc.h

Fix the following errors reported by checkpatch:

ERROR: open brace '{' following struct go on the same line
Signed-off-by: default avatarXueBing Chen <chenxb_99091@126.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4a93a7c9
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
#define SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE 16 #define SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE 16
struct SMC_Evergreen_MCRegisterAddress struct SMC_Evergreen_MCRegisterAddress {
{
uint16_t s0; uint16_t s0;
uint16_t s1; uint16_t s1;
}; };
...@@ -38,15 +37,13 @@ struct SMC_Evergreen_MCRegisterAddress ...@@ -38,15 +37,13 @@ struct SMC_Evergreen_MCRegisterAddress
typedef struct SMC_Evergreen_MCRegisterAddress SMC_Evergreen_MCRegisterAddress; typedef struct SMC_Evergreen_MCRegisterAddress SMC_Evergreen_MCRegisterAddress;
struct SMC_Evergreen_MCRegisterSet struct SMC_Evergreen_MCRegisterSet {
{
uint32_t value[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; uint32_t value[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE];
}; };
typedef struct SMC_Evergreen_MCRegisterSet SMC_Evergreen_MCRegisterSet; typedef struct SMC_Evergreen_MCRegisterSet SMC_Evergreen_MCRegisterSet;
struct SMC_Evergreen_MCRegisters struct SMC_Evergreen_MCRegisters {
{
uint8_t last; uint8_t last;
uint8_t reserved[3]; uint8_t reserved[3];
SMC_Evergreen_MCRegisterAddress address[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; SMC_Evergreen_MCRegisterAddress address[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment