[34/39] drm/amd/dal: fix include order in dce80_resource.c

Submitted by Harry Wentland on Nov. 24, 2016, 2:03 a.m.

Details

Message ID 20161124020308.28124-35-harry.wentland@amd.com
State New
Headers show
Series "dal patches for nov 23, 2016" ( rev: 1 ) in AMD X.Org drivers

Commit Message

Harry Wentland Nov. 24, 2016, 2:03 a.m.
From: Alex Deucher <alexander.deucher@amd.com>

Fixes redefinition warnings

Change-Id: I5f6c131ed0489208f1751e1eec81060dc741ab02
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c b/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c
index 1d9ca64e2729..738201b15722 100644
--- a/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c
+++ b/drivers/gpu/drm/amd/dal/dc/dce80/dce80_resource.c
@@ -23,6 +23,8 @@ 
  *
  */
 
+#include "dce/dce_8_0_d.h"
+#include "dce/dce_8_0_sh_mask.h"
 
 #include "dm_services.h"
 
@@ -50,9 +52,6 @@ 
 
 #include "reg_helper.h"
 
-#include "dce/dce_8_0_d.h"
-#include "dce/dce_8_0_sh_mask.h"
-
 /* TODO remove this include */
 
 #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT