summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_state.h
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-09-19 05:45:51 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-02 00:37:50 +0300
commit1a63bda8c9f5e17cd9eddcb981b0d8be554a82cb (patch)
tree0436e352a33c1b67784d9a075a53cbcfc0c3e2cb /drivers/gpu/drm/amd/display/dc/dc_state.h
parent63de35a8fcfca59ae8750d469a7eb220c7557baf (diff)
downloadlinux-1a63bda8c9f5e17cd9eddcb981b0d8be554a82cb.tar.xz
drm/amd/display: Eliminate recursive header inclusion
[WHAT & HOW] This removes recursive inclusion like dc.h -> dc_state.h -> dc.h and dc.h -> dc_plane.h -> dc.h This fixes 4 PW.INCLUDE_RECURSION issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_state.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_state.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_state.h b/drivers/gpu/drm/amd/display/dc/dc_state.h
index caa45db50232..db1e63a7d460 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_state.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_state.h
@@ -26,7 +26,6 @@
#ifndef _DC_STATE_H_
#define _DC_STATE_H_
-#include "dc.h"
#include "inc/core_status.h"
struct dc_state *dc_state_create(struct dc *dc, struct dc_state_create_params *params);