summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xen/xen_drm_front.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-06-30 08:18:51 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-07-15 18:11:30 +0200
commit2ea2269e296a0c15387b40362410c1569e77502c (patch)
tree3e515e0fa845a32246ded47073f9a33812caf24e /drivers/gpu/drm/xen/xen_drm_front.h
parentc3bbb48e0c548badb71d8339d95974febb33991d (diff)
downloadlinux-2ea2269e296a0c15387b40362410c1569e77502c.tar.gz
linux-2ea2269e296a0c15387b40362410c1569e77502c.tar.bz2
linux-2ea2269e296a0c15387b40362410c1569e77502c.zip
drm/xen: drop use of drmP.h
The drmP.h header is deprecated. Drop all uses. Added includes/forwards to the header files and then fixed fallout in the .c files. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Acked-by: Emil Velikov <emil.velikov@collabora.com> Cc: xen-devel@lists.xenproject.org Link: https://patchwork.freedesktop.org/patch/msgid/20190630061922.7254-3-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/xen/xen_drm_front.h')
-rw-r--r--drivers/gpu/drm/xen/xen_drm_front.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/gpu/drm/xen/xen_drm_front.h b/drivers/gpu/drm/xen/xen_drm_front.h
index 5693b4a4b02b..f92c258350ca 100644
--- a/drivers/gpu/drm/xen/xen_drm_front.h
+++ b/drivers/gpu/drm/xen/xen_drm_front.h
@@ -11,13 +11,18 @@
#ifndef __XEN_DRM_FRONT_H_
#define __XEN_DRM_FRONT_H_
-#include <drm/drmP.h>
-#include <drm/drm_simple_kms_helper.h>
-
#include <linux/scatterlist.h>
+#include <drm/drm_connector.h>
+#include <drm/drm_simple_kms_helper.h>
+
#include "xen_drm_front_cfg.h"
+struct drm_device;
+struct drm_framebuffer;
+struct drm_gem_object;
+struct drm_pending_vblank_event;
+
/**
* DOC: Driver modes of operation in terms of display buffers used
*