All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: maarten.lankhorst@linux.intel.com, airlied@linux.ie,
	daniel@ffwll.ch, alexander.deucher@amd.com,
	christian.koenig@amd.com, David1.Zhou@amd.com, kraxel@redhat.com,
	sam@ravnborg.org, laurent.pinchart@ideasonboard.com,
	chris@chris-wilson.co.uk, emil.velikov@collabora.com,
	dan.carpenter@oracle.com
Cc: Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org
Subject: [PATCH 12/12] drm/via: Don't include <drm/drm_pci.h>
Date: Tue,  3 Dec 2019 11:04:06 +0100	[thread overview]
Message-ID: <20191203100406.9674-13-tzimmermann@suse.de> (raw)
In-Reply-To: <20191203100406.9674-1-tzimmermann@suse.de>

Including <drm/drm_pci.h> is unnecessary in most cases. Replace
these instances.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 drivers/gpu/drm/via/via_dmablit.c | 2 +-
 drivers/gpu/drm/via/via_drv.c     | 2 +-
 drivers/gpu/drm/via/via_map.c     | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/via/via_dmablit.c b/drivers/gpu/drm/via/via_dmablit.c
index 3db000aacd26..d13a3897506e 100644
--- a/drivers/gpu/drm/via/via_dmablit.c
+++ b/drivers/gpu/drm/via/via_dmablit.c
@@ -35,11 +35,11 @@
  */
 
 #include <linux/pagemap.h>
+#include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 
 #include <drm/drm_device.h>
-#include <drm/drm_pci.h>
 #include <drm/via_drm.h>
 
 #include "via_dmablit.h"
diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c
index 666a16de84f9..5da38082821f 100644
--- a/drivers/gpu/drm/via/via_drv.c
+++ b/drivers/gpu/drm/via/via_drv.c
@@ -23,10 +23,10 @@
  */
 
 #include <linux/module.h>
+#include <linux/pci.h>
 
 #include <drm/drm_drv.h>
 #include <drm/drm_file.h>
-#include <drm/drm_pci.h>
 #include <drm/drm_pciids.h>
 #include <drm/via_drm.h>
 
diff --git a/drivers/gpu/drm/via/via_map.c b/drivers/gpu/drm/via/via_map.c
index 431c150df014..255c5066a939 100644
--- a/drivers/gpu/drm/via/via_map.c
+++ b/drivers/gpu/drm/via/via_map.c
@@ -22,8 +22,9 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
+#include <linux/pci.h>
+
 #include <drm/drm_device.h>
-#include <drm/drm_pci.h>
 #include <drm/drm_vblank.h>
 #include <drm/via_drm.h>
 
-- 
2.23.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2019-12-03 10:04 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03 10:03 [PATCH 00/12] Clean up drm_pci.{c,h} Thomas Zimmermann
2019-12-03 10:03 ` [PATCH 01/12] drm/pci: Only build drm_pci.c if CONFIG_PCI is set Thomas Zimmermann
2019-12-03 10:03 ` [PATCH 02/12] drm/pci: Hide legacy PCI functions from non-legacy code Thomas Zimmermann
2019-12-03 11:06   ` Emil Velikov
2019-12-03 11:09     ` Emil Velikov
2019-12-03 11:27       ` Thomas Zimmermann
2019-12-03 10:03 ` [PATCH 03/12] drm/ast: Don't include <drm/drm_pci.h> Thomas Zimmermann
2019-12-03 15:23   ` kbuild test robot
2019-12-03 15:23     ` kbuild test robot
2019-12-03 10:03 ` [PATCH 04/12] drm/i810: " Thomas Zimmermann
2019-12-03 10:03 ` [PATCH 05/12] drm/mga: " Thomas Zimmermann
2019-12-03 10:04 ` [PATCH 06/12] drm/mgag200: " Thomas Zimmermann
2019-12-03 10:04 ` [PATCH 07/12] drm/r128: " Thomas Zimmermann
2019-12-03 10:04 ` [PATCH 08/12] drm/radeon: " Thomas Zimmermann
2019-12-03 10:04 ` [PATCH 09/12] drm/savage: " Thomas Zimmermann
2019-12-03 10:04 ` [PATCH 10/12] drm/sis: " Thomas Zimmermann
2019-12-03 10:04 ` [PATCH 11/12] drm/tdfx: " Thomas Zimmermann
2019-12-03 10:04 ` Thomas Zimmermann [this message]
2019-12-03 11:11 ` [PATCH 00/12] Clean up drm_pci.{c,h} Emil Velikov
2019-12-03 12:13 ` Sam Ravnborg
2019-12-03 12:54   ` Thomas Zimmermann
2019-12-03 14:35 ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191203100406.9674-13-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=David1.Zhou@amd.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=christian.koenig@amd.com \
    --cc=dan.carpenter@oracle.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.velikov@collabora.com \
    --cc=kraxel@redhat.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.