From: Sunil Khatri Date: Wed, 2 Oct 2024 09:22:52 +0000 (+0530) Subject: drm/amdgpu: fix html doc generation warning X-Git-Tag: v6.13-rc1~122^2~15^2~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90b97b16e1ab5b455649477373f05839c5d20951;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: fix html doc generation warning Fix the html doc warning due to mix up of the forward declaration of struct amdgpu_ip_block. Signed-off-by: Sunil Khatri Reviewed-by: Christian König Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index d892273fdb10d..f98b3a5444779 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -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);