mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
drm/amd/display: Clean up os_types.h a bit
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
4d06ccd0af
commit
963aa22dc9
1 changed files with 2 additions and 6 deletions
|
@ -26,8 +26,6 @@
|
||||||
#ifndef _OS_TYPES_H_
|
#ifndef _OS_TYPES_H_
|
||||||
#define _OS_TYPES_H_
|
#define _OS_TYPES_H_
|
||||||
|
|
||||||
#if defined __KERNEL__
|
|
||||||
|
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <drm/drmP.h>
|
#include <drm/drmP.h>
|
||||||
|
@ -54,6 +52,8 @@
|
||||||
|
|
||||||
#define dm_vlog(fmt, args) vprintk(fmt, args)
|
#define dm_vlog(fmt, args) vprintk(fmt, args)
|
||||||
|
|
||||||
|
#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
|
||||||
|
#include <asm/fpu/api.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -89,8 +89,4 @@
|
||||||
BREAK_TO_DEBUGGER(); \
|
BREAK_TO_DEBUGGER(); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
|
|
||||||
#include <asm/fpu/api.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _OS_TYPES_H_ */
|
#endif /* _OS_TYPES_H_ */
|
||||||
|
|
Loading…
Reference in a new issue