summaryrefslogtreecommitdiff
path: root/drivers/staging/vboxvideo/vbox_ttm.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-10-22 16:57:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-07 12:59:50 +0100
commit0a2bca1409b7dbb53946187430c66e85729e07cc (patch)
tree345f3ca0b12d8c48bc428ed28630a2751228bf27 /drivers/staging/vboxvideo/vbox_ttm.c
parentcb4e583db2a10d04f223205b9b7822877db2f861 (diff)
staging: vboxvideo: Cleanup header use
Stop adding -Iinclude/drm to the CFLAGS and stop using the obsolete "include-all" drm/drmP.h header. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vboxvideo/vbox_ttm.c')
-rw-r--r--drivers/staging/vboxvideo/vbox_ttm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/vboxvideo/vbox_ttm.c b/drivers/staging/vboxvideo/vbox_ttm.c
index 74f2d271ddac..edc8686454bf 100644
--- a/drivers/staging/vboxvideo/vbox_ttm.c
+++ b/drivers/staging/vboxvideo/vbox_ttm.c
@@ -6,8 +6,10 @@
* Authors: Dave Airlie <airlied@redhat.com>
* Michael Thayer <michael.thayer@oracle.com>
*/
+#include <linux/pci.h>
+#include <drm/drm_file.h>
+#include <drm/ttm/ttm_page_alloc.h>
#include "vbox_drv.h"
-#include <ttm/ttm_page_alloc.h>
static inline struct vbox_private *vbox_bdev(struct ttm_bo_device *bd)
{