summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/os_types.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-10 01:07:50 +0300
committerSam Ravnborg <sam@ravnborg.org>2019-06-10 23:59:45 +0300
commit4fc4dca8320e46b067037496fde3a6d95381d60f (patch)
treeaf3db1dde98e39f98b8bfad890f0ab25dd1a45fc /drivers/gpu/drm/amd/display/dc/os_types.h
parentc366be543c5ea35f4d4103f5ee69f052ce2bffe1 (diff)
downloadlinux-4fc4dca8320e46b067037496fde3a6d95381d60f.tar.xz
drm/amd: drop use of drmp.h in os_types.h
Drop use of the deprecated drmP.h from display/dc/os_types.h Fix all fallout after this change. Most of the fixes was adding a missing include of vmalloc.h. 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/20190609220757.10862-4-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/os_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/os_types.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h
index c0d9f332baed..30ec80ac6fc8 100644
--- a/drivers/gpu/drm/amd/display/dc/os_types.h
+++ b/drivers/gpu/drm/amd/display/dc/os_types.h
@@ -26,11 +26,13 @@
#ifndef _OS_TYPES_H_
#define _OS_TYPES_H_
-#include <asm/byteorder.h>
+#include <linux/kgdb.h>
+#include <linux/kref.h>
#include <linux/types.h>
-#include <drm/drmP.h>
-#include <linux/kref.h>
+#include <asm/byteorder.h>
+
+#include <drm/drm_print.h>
#include "cgs_common.h"