[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240111053827.8169-1-chenxb_99091@126.com>
Date: Thu, 11 Jan 2024 05:38:27 +0000
From: chenxuebing <chenxb_99091@....com>
To: alexander.deucher@....com,
daniel@...ll.ch,
airlied@...il.com,
Xinhui.Pan@....com,
christian.koenig@....com
Cc: dri-devel@...ts.freedesktop.org,
amd-gfx@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
chenxuebing <chenxb_99091@....com>
Subject: [PATCH] drm/amdgpu: Clean up errors in atomfirmwareid.h
Fix the following errors reported by checkpatch:
ERROR: open brace '{' following enum go on the same line
Signed-off-by: chenxuebing <chenxb_99091@....com>
---
drivers/gpu/drm/amd/include/atomfirmwareid.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/include/atomfirmwareid.h b/drivers/gpu/drm/amd/include/atomfirmwareid.h
index e6256efd03ae..1ca5fe7b131b 100644
--- a/drivers/gpu/drm/amd/include/atomfirmwareid.h
+++ b/drivers/gpu/drm/amd/include/atomfirmwareid.h
@@ -28,8 +28,7 @@
#ifndef _ATOMFIRMWAREID_H_
#define _ATOMFIRMWAREID_H_
-enum atom_master_data_table_id
-{
+enum atom_master_data_table_id {
VBIOS_DATA_TBL_ID__UTILITY_PIPELINE,
VBIOS_DATA_TBL_ID__MULTIMEDIA_INF,
VBIOS_DATA_TBL_ID__FIRMWARE_INF,
@@ -51,8 +50,7 @@ enum atom_master_data_table_id
VBIOS_DATA_TBL_ID__UNDEFINED,
};
-enum atom_master_command_table_id
-{
+enum atom_master_command_table_id {
VBIOS_CMD_TBL_ID__ASIC_INIT,
VBIOS_CMD_TBL_ID__DIGX_ENCODER_CONTROL,
VBIOS_CMD_TBL_ID__SET_ENGINE_CLOCK,
--
2.17.1
Powered by blists - more mailing lists