aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.h
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2019-06-09 22:07:52 +0000
committerSam Ravnborg <[email protected]>2019-06-10 21:00:01 +0000
commit841d0023338c902e91ffa5c5954fd58dd9912e87 (patch)
treee3a6529afc62ff212e75e8bc95450f2cf53eb663 /drivers/gpu/drm/amd/amdgpu/atom.h
parentdrm/amd: drop use of drmP.h in amdgpu.h (diff)
downloadkernel-841d0023338c902e91ffa5c5954fd58dd9912e87.tar.gz
kernel-841d0023338c902e91ffa5c5954fd58dd9912e87.zip
drm/amd: drop use of drmP.h in atom.h
Drop use of the deprecated drmP.h header from atom.h Fix fallout in various files. Signed-off-by: Sam Ravnborg <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Cc: "David (ChunMing) Zhou" <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/atom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/atom.h b/drivers/gpu/drm/amd/amdgpu/atom.h
index a39170991afe..4205bbe5d8d7 100644
--- a/drivers/gpu/drm/amd/amdgpu/atom.h
+++ b/drivers/gpu/drm/amd/amdgpu/atom.h
@@ -26,7 +26,8 @@
#define ATOM_H
#include <linux/types.h>
-#include <drm/drmP.h>
+
+struct drm_device;
#define ATOM_BIOS_MAGIC 0xAA55
#define ATOM_ATI_MAGIC_PTR 0x30