summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorchenxuebing <chenxb_99091@126.com>2024-01-11 05:27:18 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-01-16 02:35:40 +0300
commit762343f79e431b0555469e97e3afcd443027fa37 (patch)
tree3a0c7ea10139f8fbeeafd3334d81eeab3e38044b /drivers
parentf5e1f90b67b88fc6d0b4c9195442f28f806146a9 (diff)
downloadlinux-762343f79e431b0555469e97e3afcd443027fa37.tar.xz
drm/amdgpu: Clean up errors in amdgpu.h
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 00bf4a364a92..c5f3859fd682 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -115,14 +115,12 @@
#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 */
};