Commit 2175749b authored by Sam Ravnborg's avatar Sam Ravnborg

drm/i810: drop use of drmP.h

Drop use of the deprecated drmP.h header.
Replace with necessary includes.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-14-sam@ravnborg.org
parent 7b42a2f4
......@@ -30,13 +30,20 @@
*
*/
#include <drm/drmP.h>
#include <linux/delay.h>
#include <linux/mman.h>
#include <drm/drm_agpsupport.h>
#include <drm/drm_device.h>
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_ioctl.h>
#include <drm/drm_irq.h>
#include <drm/drm_pci.h>
#include <drm/drm_print.h>
#include <drm/i810_drm.h>
#include "i810_drv.h"
#include <linux/interrupt.h> /* For task queue support */
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#define I810_BUF_FREE 2
#define I810_BUF_CLIENT 1
......
......@@ -30,13 +30,15 @@
* Gareth Hughes <gareth@valinux.com>
*/
#include "i810_drv.h"
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_pci.h>
#include <drm/drm_pciids.h>
#include <drm/i810_drm.h>
#include "i810_drv.h"
#include <drm/drm_pciids.h>
static struct pci_device_id pciidlist[] = {
i810_PCI_IDS
......
......@@ -32,7 +32,9 @@
#ifndef _I810_DRV_H_
#define _I810_DRV_H_
#include <drm/drm_ioctl.h>
#include <drm/drm_legacy.h>
#include <drm/i810_drm.h>
/* General customization:
*/
......
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