Commit 841d0023 authored by Sam Ravnborg's avatar Sam Ravnborg

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: 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/20190609220757.10862-6-sam@ravnborg.org
parent f867723b
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
*/ */
#include <linux/irqdomain.h> #include <linux/irqdomain.h>
#include <linux/pci.h>
#include <linux/pm_domain.h> #include <linux/pm_domain.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <sound/designware_i2s.h> #include <sound/designware_i2s.h>
......
...@@ -26,7 +26,8 @@ ...@@ -26,7 +26,8 @@
#define ATOM_H #define ATOM_H
#include <linux/types.h> #include <linux/types.h>
#include <drm/drmP.h>
struct drm_device;
#define ATOM_BIOS_MAGIC 0xAA55 #define ATOM_BIOS_MAGIC 0xAA55
#define ATOM_ATI_MAGIC_PTR 0x30 #define ATOM_ATI_MAGIC_PTR 0x30
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* *
*/ */
#include <linux/slab.h>
#include "dm_services.h" #include "dm_services.h"
#include "atom.h" #include "atom.h"
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* *
*/ */
#include <linux/slab.h>
#include "dm_services.h" #include "dm_services.h"
#include "atom.h" #include "atom.h"
#include "dm_helpers.h" #include "dm_helpers.h"
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* *
*/ */
#include <linux/slab.h>
#include "dce_abm.h" #include "dce_abm.h"
#include "dm_services.h" #include "dm_services.h"
#include "reg_helper.h" #include "reg_helper.h"
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
* *
*/ */
#include <linux/pci.h>
#include "hwmgr.h" #include "hwmgr.h"
#include "pp_debug.h" #include "pp_debug.h"
#include "ppatomctrl.h" #include "ppatomctrl.h"
......
...@@ -20,8 +20,10 @@ ...@@ -20,8 +20,10 @@
* OTHER DEALINGS IN THE SOFTWARE. * OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "pp_debug.h"
#include <linux/firmware.h> #include <linux/firmware.h>
#include <linux/module.h>
#include "pp_debug.h"
#include "amdgpu.h" #include "amdgpu.h"
#include "amdgpu_smu.h" #include "amdgpu_smu.h"
#include "atomfirmware.h" #include "atomfirmware.h"
......
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