OSDN Git Service

PCI: Include <linux/pci.h>, not <asm/pci.h>
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Jun 2015 21:37:34 +0000 (16:37 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 8 Jun 2015 12:55:03 +0000 (07:55 -0500)
We already include <asm/pci.h> from <linux/pci.h>, so just include
<linux/pci.h> directly.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: linuxppc-dev@lists.ozlabs.org
CC: linux-s390@vger.kernel.org
arch/powerpc/platforms/52xx/mpc52xx_pci.c
arch/s390/kernel/suspend.c

index e2d401a..6eb3b2a 100644 (file)
@@ -12,7 +12,7 @@
 
 #undef DEBUG
 
-#include <asm/pci.h>
+#include <linux/pci.h>
 #include <asm/mpc52xx.h>
 #include <asm/delay.h>
 #include <asm/machdep.h>
index d3236c9..39e2f41 100644 (file)
@@ -9,10 +9,10 @@
 #include <linux/pfn.h>
 #include <linux/suspend.h>
 #include <linux/mm.h>
+#include <linux/pci.h>
 #include <asm/ctl_reg.h>
 #include <asm/ipl.h>
 #include <asm/cio.h>
-#include <asm/pci.h>
 #include <asm/sections.h>
 #include "entry.h"