From: Harry Wentland Date: Thu, 16 Nov 2017 00:27:37 +0000 (-0500) Subject: drm/amd/display: Clean up os_types.h a bit X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=963aa22dc983f11d19f0e106ee7d9fddb229abda;p=linux.git drm/amd/display: Clean up os_types.h a bit Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h index a87c0329541f5..68ce2ab8f4553 100644 --- a/drivers/gpu/drm/amd/display/dc/os_types.h +++ b/drivers/gpu/drm/amd/display/dc/os_types.h @@ -26,8 +26,6 @@ #ifndef _OS_TYPES_H_ #define _OS_TYPES_H_ -#if defined __KERNEL__ - #include #include #include @@ -54,6 +52,8 @@ #define dm_vlog(fmt, args) vprintk(fmt, args) +#if defined(CONFIG_DRM_AMD_DC_DCN1_0) +#include #endif /* @@ -89,8 +89,4 @@ BREAK_TO_DEBUGGER(); \ } while (0) -#if defined(CONFIG_DRM_AMD_DC_DCN1_0) -#include -#endif - #endif /* _OS_TYPES_H_ */