[PATCH 08/11] drm/amd/dal/dc: fix include order in dce80_resource.c

Alex Deucher alexdeucher at gmail.com
Tue Nov 22 16:57:25 UTC 2016


Fixes redefinition warnings

Reviewed-by: Harry Wentland <harry.wentland at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher 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 3de4030..99b8182 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"
 
@@ -51,9 +53,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 mmDP_DPHY_INTERNAL_CTRL
-- 
2.5.5



More information about the amd-gfx mailing list