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

Harry Wentland harry.wentland at amd.com
Thu Nov 24 02:03:03 UTC 2016


From: Alex Deucher <alexander.deucher at amd.com>

Fixes redefinition warnings

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

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
-- 
2.10.1



More information about the amd-gfx mailing list