[PATCH 65/76] drm/amd/dal: Fixe linux compile error.
Harry Wentland
harry.wentland at amd.com
Mon Nov 21 23:01:25 UTC 2016
From: Yongqiang Sun <yongqiang.sun at amd.com>
Signed-off-by: Yongqiang Sun <yongqiang.sun at amd.com>
Acked-by: Harry Wentland <harry.wentland at amd.com>
---
drivers/gpu/drm/amd/dal/dc/core/dc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c b/drivers/gpu/drm/amd/dal/dc/core/dc.c
index 66686ee1c3e1..9c8550bc8c06 100644
--- a/drivers/gpu/drm/amd/dal/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c
@@ -47,6 +47,7 @@
#include "dc_link_ddc.h"
#include "dm_helpers.h"
+#include "mem_input.h"
/*******************************************************************************
* Private structures
@@ -1806,7 +1807,6 @@ const struct dc_stream_status *dc_stream_get_status(
bool dc_init_dchub(struct dc *dc, struct dchub_init_data *dh_data)
{
int i;
- int status_check = false;
struct core_dc *core_dc = DC_TO_CORE(dc);
struct mem_input *mi;
@@ -1817,7 +1817,6 @@ bool dc_init_dchub(struct dc *dc, struct dchub_init_data *dh_data)
}
}
-
if (mi->funcs->mem_input_update_dchub)
mi->funcs->mem_input_update_dchub(mi, dh_data);
else
--
2.10.1
More information about the amd-gfx
mailing list