lkml.org 
[lkml]   [2023]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] drm/amdgpu/df: Clean up errors in df_v1_7.h
Fix the following errors reported by checkpatch:

ERROR: spaces required around that '=' (ctx:WxV)
ERROR: open brace '{' following enum go on the same line

Signed-off-by: XueBing Chen <chenxuebing@jari.cn>
---
drivers/gpu/drm/amd/amdgpu/df_v1_7.h | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
index 74621104c487..22b3d66c4f66 100644
--- a/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
+++ b/drivers/gpu/drm/amd/amdgpu/df_v1_7.h
@@ -25,14 +25,13 @@
#define __DF_V1_7_H__

#include "soc15_common.h"
-enum DF_V1_7_MGCG
-{
+enum DF_V1_7_MGCG {
DF_V1_7_MGCG_DISABLE = 0,
- DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY =1,
- DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY =2,
- DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY =13,
- DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY =14,
- DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY =15
+ DF_V1_7_MGCG_ENABLE_00_CYCLE_DELAY = 1,
+ DF_V1_7_MGCG_ENABLE_01_CYCLE_DELAY = 2,
+ DF_V1_7_MGCG_ENABLE_15_CYCLE_DELAY = 13,
+ DF_V1_7_MGCG_ENABLE_31_CYCLE_DELAY = 14,
+ DF_V1_7_MGCG_ENABLE_63_CYCLE_DELAY = 15
};

extern const struct amdgpu_df_funcs df_v1_7_funcs;
--
2.17.1
\
 
 \ /
  Last update: 2023-08-24 08:53    [W:0.022 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site