drm/amdgpu: Clean up errors in amdgpu.h
authorchenxuebing <chenxb_99091@126.com>
Thu, 11 Jan 2024 02:27:18 +0000 (02:27 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Jan 2024 23:35:40 +0000 (18:35 -0500)
Fix the following errors reported by checkpatch:

ERROR: open brace '{' following struct go on the same line

Signed-off-by: chenxuebing <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h

index 00bf4a364a92150dd4aea96eb5b2be8e3c625b3f..c5f3859fd682abf06a70b1c1e08d47e10286fdde 100644 (file)
 
 #define MAX_GPU_INSTANCE               64
 
-struct amdgpu_gpu_instance
-{
+struct amdgpu_gpu_instance {
        struct amdgpu_device            *adev;
        int                             mgpu_fan_enabled;
 };
 
-struct amdgpu_mgpu_info
-{
+struct amdgpu_mgpu_info {
        struct amdgpu_gpu_instance      gpu_ins[MAX_GPU_INSTANCE];
        struct mutex                    mutex;
        uint32_t                        num_gpu;
@@ -141,8 +139,7 @@ enum amdgpu_ss {
        AMDGPU_SS_DRV_UNLOAD
 };
 
-struct amdgpu_watchdog_timer
-{
+struct amdgpu_watchdog_timer {
        bool timeout_fatal_disable;
        uint32_t period; /* maxCycles = (1 << period), the number of cycles before a timeout */
 };