Commit 2ed9aa0f authored by Sam Ravnborg's avatar Sam Ravnborg

drm/radeon: drop drmP.h from header files

To ease conversion of .c files drop include of
drmP.h from all header files.
And fix-up build errors caused by this.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190608080241.4958-5-sam@ravnborg.org
parent 0e1a351d
...@@ -25,8 +25,10 @@ ...@@ -25,8 +25,10 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <drm/drm_device.h>
#include <drm/drm_util.h> #include <drm/drm_util.h>
#define ATOM_DEBUG #define ATOM_DEBUG
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#define ATOM_H #define ATOM_H
#include <linux/types.h> #include <linux/types.h>
#include <drm/drmP.h>
#define ATOM_BIOS_MAGIC 0xAA55 #define ATOM_BIOS_MAGIC 0xAA55
#define ATOM_ATI_MAGIC_PTR 0x30 #define ATOM_ATI_MAGIC_PTR 0x30
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/tracepoint.h> #include <linux/tracepoint.h>
#include <drm/drmP.h>
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM radeon #define TRACE_SYSTEM radeon
#define TRACE_INCLUDE_FILE radeon_trace #define TRACE_INCLUDE_FILE radeon_trace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment