Skip to content

Commit 98268d4

Browse files
Ran Sunalexdeucher
authored andcommitted
drm/amdgpu: Clean up errors in amdgpu_atombios.h
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 06d82d8 commit 98268d4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ struct atom_memory_info {
8989

9090
#define MAX_AC_TIMING_ENTRIES 16
9191

92-
struct atom_memory_clock_range_table
93-
{
92+
struct atom_memory_clock_range_table {
9493
u8 num_entries;
9594
u8 rsv[3];
9695
u32 mclk[MAX_AC_TIMING_ENTRIES];
@@ -118,14 +117,12 @@ struct atom_mc_reg_table {
118117

119118
#define MAX_VOLTAGE_ENTRIES 32
120119

121-
struct atom_voltage_table_entry
122-
{
120+
struct atom_voltage_table_entry {
123121
u16 value;
124122
u32 smio_low;
125123
};
126124

127-
struct atom_voltage_table
128-
{
125+
struct atom_voltage_table {
129126
u32 count;
130127
u32 mask_low;
131128
u32 phase_delay;

0 commit comments

Comments
 (0)