mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
cb4e583db2
commit
0a2bca1409
@ -1,6 +1,4 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
ccflags-y := -Iinclude/drm
|
|
||||||
|
|
||||||
vboxvideo-y := hgsmi_base.o modesetting.o vbva_base.o \
|
vboxvideo-y := hgsmi_base.o modesetting.o vbva_base.o \
|
||||||
vbox_drv.o vbox_fb.o vbox_hgsmi.o vbox_irq.o vbox_main.o \
|
vbox_drv.o vbox_fb.o vbox_hgsmi.o vbox_irq.o vbox_main.o \
|
||||||
vbox_mode.o vbox_prime.o vbox_ttm.o
|
vbox_mode.o vbox_prime.o vbox_ttm.o
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include <linux/console.h>
|
#include <linux/console.h>
|
||||||
#include <linux/vt_kern.h>
|
#include <linux/vt_kern.h>
|
||||||
|
|
||||||
#include <drm/drmP.h>
|
|
||||||
#include <drm/drm_crtc_helper.h>
|
#include <drm/drm_crtc_helper.h>
|
||||||
|
|
||||||
#include "vbox_drv.h"
|
#include "vbox_drv.h"
|
||||||
|
@ -12,10 +12,10 @@
|
|||||||
|
|
||||||
#include <linux/genalloc.h>
|
#include <linux/genalloc.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
|
#include <linux/irqreturn.h>
|
||||||
#include <linux/string.h>
|
#include <linux/string.h>
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
||||||
#include <drm/drmP.h>
|
|
||||||
#include <drm/drm_encoder.h>
|
#include <drm/drm_encoder.h>
|
||||||
#include <drm/drm_fb_helper.h>
|
#include <drm/drm_fb_helper.h>
|
||||||
#include <drm/drm_gem.h>
|
#include <drm/drm_gem.h>
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include <linux/fb.h>
|
#include <linux/fb.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
|
|
||||||
#include <drm/drmP.h>
|
|
||||||
#include <drm/drm_crtc.h>
|
#include <drm/drm_crtc.h>
|
||||||
#include <drm/drm_fb_helper.h>
|
#include <drm/drm_fb_helper.h>
|
||||||
#include <drm/drm_crtc_helper.h>
|
#include <drm/drm_crtc_helper.h>
|
||||||
|
@ -6,8 +6,10 @@
|
|||||||
* Authors: Dave Airlie <airlied@redhat.com>
|
* Authors: Dave Airlie <airlied@redhat.com>
|
||||||
* Michael Thayer <michael.thayer@oracle.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 "vbox_drv.h"
|
||||||
#include <ttm/ttm_page_alloc.h>
|
|
||||||
|
|
||||||
static inline struct vbox_private *vbox_bdev(struct ttm_bo_device *bd)
|
static inline struct vbox_private *vbox_bdev(struct ttm_bo_device *bd)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user