Commit 36999fd0 authored by Sam Ravnborg's avatar Sam Ravnborg

drm/mga: drop use of drmP.h

Drop the use of the deprecated drmP.h header file.
Clean up list of include files and sort them.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20190623103542.30697-4-sam@ravnborg.org
parent 968222d9
...@@ -37,8 +37,6 @@ ...@@ -37,8 +37,6 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h" #include "mga_drv.h"
#define MGA_DEFAULT_USEC_TIMEOUT 10000 #define MGA_DEFAULT_USEC_TIMEOUT 10000
......
...@@ -31,12 +31,11 @@ ...@@ -31,12 +31,11 @@
#include <linux/module.h> #include <linux/module.h>
#include <drm/drmP.h> #include <drm/drm_drv.h>
#include <drm/mga_drm.h>
#include "mga_drv.h"
#include <drm/drm_pciids.h> #include <drm/drm_pciids.h>
#include "mga_drv.h"
static struct pci_device_id pciidlist[] = { static struct pci_device_id pciidlist[] = {
mga_PCI_IDS mga_PCI_IDS
}; };
......
...@@ -30,10 +30,9 @@ ...@@ -30,10 +30,9 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
#include <linux/compat.h> #include <linux/compat.h>
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h" #include "mga_drv.h"
typedef struct drm32_mga_init { typedef struct drm32_mga_init {
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
* Eric Anholt <anholt@FreeBSD.org> * Eric Anholt <anholt@FreeBSD.org>
*/ */
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h" #include "mga_drv.h"
u32 mga_get_vblank_counter(struct drm_device *dev, unsigned int pipe) u32 mga_get_vblank_counter(struct drm_device *dev, unsigned int pipe)
......
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
* Gareth Hughes <gareth@valinux.com> * Gareth Hughes <gareth@valinux.com>
*/ */
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h" #include "mga_drv.h"
/* ================================================================ /* ================================================================
......
...@@ -29,11 +29,9 @@ ...@@ -29,11 +29,9 @@
#include <linux/firmware.h> #include <linux/firmware.h>
#include <linux/ihex.h> #include <linux/ihex.h>
#include <linux/platform_device.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h>
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h" #include "mga_drv.h"
#define FIRMWARE_G200 "matrox/g200_warp.fw" #define FIRMWARE_G200 "matrox/g200_warp.fw"
......
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