Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Alex 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

+2 -3
+2
drivers/gpu/drm/radeon/atom.c
··· 25 25 #include <linux/module.h> 26 26 #include <linux/sched.h> 27 27 #include <linux/slab.h> 28 + 28 29 #include <asm/unaligned.h> 29 30 31 + #include <drm/drm_device.h> 30 32 #include <drm/drm_util.h> 31 33 32 34 #define ATOM_DEBUG
-1
drivers/gpu/drm/radeon/atom.h
··· 26 26 #define ATOM_H 27 27 28 28 #include <linux/types.h> 29 - #include <drm/drmP.h> 30 29 31 30 #define ATOM_BIOS_MAGIC 0xAA55 32 31 #define ATOM_ATI_MAGIC_PTR 0x30
-2
drivers/gpu/drm/radeon/radeon_trace.h
··· 6 6 #include <linux/types.h> 7 7 #include <linux/tracepoint.h> 8 8 9 - #include <drm/drmP.h> 10 - 11 9 #undef TRACE_SYSTEM 12 10 #define TRACE_SYSTEM radeon 13 11 #define TRACE_INCLUDE_FILE radeon_trace