[65/76] drm/amd/dal: Fixe linux compile error.

Submitted by Harry Wentland on Nov. 21, 2016, 11:01 p.m.

Details

Message ID 20161121230136.5208-66-harry.wentland@amd.com
State New
Headers show
Series "DAL Patches Nov 21, 2016" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Harry Wentland Nov. 21, 2016, 11:01 p.m.
From: Yongqiang Sun <yongqiang.sun@amd.com>

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/core/dc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch hide | download patch | download mbox

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