drm/amdgpu: fix html doc generation warning
authorSunil Khatri <sunil.khatri@amd.com>
Wed, 2 Oct 2024 09:22:52 +0000 (14:52 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2024 18:03:39 +0000 (14:03 -0400)
Fix the html doc warning due to mix up of the
forward declaration of struct amdgpu_ip_block.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h

index d892273fdb10dd583142b6cf33403cac907b63b6..f98b3a5444779c1218909dae84e16d5248ba4b63 100644 (file)
@@ -28,6 +28,8 @@
 
 
 #define AMD_MAX_USEC_TIMEOUT           1000000  /* 1000 ms */
+struct amdgpu_ip_block;
+
 
 /*
  * Chip flags
@@ -375,8 +377,6 @@ enum amd_dpm_forced_level;
  * making calls to hooks from each IP block. This list is ordered to ensure
  * that the driver initializes the IP blocks in a safe sequence.
  */
-struct amdgpu_ip_block;
-
 struct amd_ip_funcs {
        char *name;
        int (*early_init)(struct amdgpu_ip_block *ip_block);