aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-29 20:38:36 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-10 18:06:43 -0400
commitd1dfd370c30af9ab009f0d10dc7f88bd126ae97a (patch)
treebee4bf44d26d3e1401ca5d7ac6c0700829ec1af6
parentdrm/amd/display: Remove duplicate include of hubp.h (diff)
downloadlinux-d1dfd370c30af9ab009f0d10dc7f88bd126ae97a.tar.gz
linux-d1dfd370c30af9ab009f0d10dc7f88bd126ae97a.zip
drm/amd/display: Remove duplicate declaration of dc_state
There are two declarations of struct dc_state here. Remove the later duplicate more secure. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index dba2584e8986..86e6649cb8c5 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -600,7 +600,6 @@ struct dc_bounding_box_overrides {
int min_dcfclk_mhz;
};
-struct dc_state;
struct resource_pool;
struct dce_hwseq;
struct gpu_info_soc_bounding_box_v1_0;