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: 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
This commit is contained in:
Sam Ravnborg 2019-06-23 12:35:41 +02:00
parent 968222d9b8
commit 36999fd02d
6 changed files with 5 additions and 15 deletions

View 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

View File

@ -31,12 +31,11 @@
#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
};

View File

@ -30,10 +30,9 @@
* 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 {

View 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)

View File

@ -32,8 +32,6 @@
* Gareth Hughes <gareth@valinux.com>
*/
#include <drm/drmP.h>
#include <drm/mga_drm.h>
#include "mga_drv.h"
/* ================================================================

View File

@ -29,11 +29,9 @@
#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"