drm/mga: drop use of drmP.h
authorSam Ravnborg <sam@ravnborg.org>
Sun, 23 Jun 2019 10:35:41 +0000 (12:35 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 30 Jun 2019 07:48:05 +0000 (09:48 +0200)
Drop the use of the deprecated drmP.h header file.
Clean up list of include files and sort them.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas 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
drivers/gpu/drm/mga/mga_dma.c
drivers/gpu/drm/mga/mga_drv.c
drivers/gpu/drm/mga/mga_ioc32.c
drivers/gpu/drm/mga/mga_irq.c
drivers/gpu/drm/mga/mga_state.c
drivers/gpu/drm/mga/mga_warp.c

index c5e7c210999f4677b2ef8795a407403d5a173481..85c74364ce24c0edb21dc88ad66fa518c45bbc11 100644 (file)
@@ -37,8 +37,6 @@
 
 #include <linux/delay.h>
 
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
 #include "mga_drv.h"
 
 #define MGA_DEFAULT_USEC_TIMEOUT       10000
index 6e1d1054ad0637bdbcd94f0c7e2d08ed63d4790f..71128e6f6ae9425569a15ad6a604de86507af91f 100644 (file)
 
 #include <linux/module.h>
 
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
-#include "mga_drv.h"
-
+#include <drm/drm_drv.h>
 #include <drm/drm_pciids.h>
 
+#include "mga_drv.h"
+
 static struct pci_device_id pciidlist[] = {
        mga_PCI_IDS
 };
index 245fb2e359cfd29e52a26b4ddd96da486ecaacca..6ccd270789c6b9ebde599a812116cf4be6bddef1 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  * IN THE SOFTWARE.
  */
+
 #include <linux/compat.h>
 
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
 #include "mga_drv.h"
 
 typedef struct drm32_mga_init {
index 1545a3694b53adcb6f70d258dec5cd6368797edc..a7e6ffc80a788db7850ea484701233b8dae64952 100644 (file)
@@ -31,8 +31,6 @@
  *    Eric Anholt <anholt@FreeBSD.org>
  */
 
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
 #include "mga_drv.h"
 
 u32 mga_get_vblank_counter(struct drm_device *dev, unsigned int pipe)
index 296a1db7e5ee9a137161a535fa4221a15b46b9b7..77a0b006f06691bded0101052865410821b98d8e 100644 (file)
@@ -32,8 +32,6 @@
  *    Gareth Hughes <gareth@valinux.com>
  */
 
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
 #include "mga_drv.h"
 
 /* ================================================================
index 0b76352260a9fbef3c7a4115299ca130a86b22e1..b5ef1d2c8b1c1044df0f2893330f84125b049787 100644 (file)
 
 #include <linux/firmware.h>
 #include <linux/ihex.h>
-#include <linux/platform_device.h>
 #include <linux/module.h>
+#include <linux/platform_device.h>
 
-#include <drm/drmP.h>
-#include <drm/mga_drm.h>
 #include "mga_drv.h"
 
 #define FIRMWARE_G200 "matrox/g200_warp.fw"