diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-10-04 15:15:22 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-07 18:38:48 -0600 |
commit | be2d877aaa043d23c0522fd3c7491b8ef7b631fa (patch) | |
tree | f856a6a6d8e033f3c45c5b9f0b6280fe166baae5 /arch/powerpc/include/asm/pci.h | |
parent | 137ed9f0ee20b72e03492f8f0358cb19f74a89c4 (diff) | |
download | op-kernel-dev-be2d877aaa043d23c0522fd3c7491b8ef7b631fa.zip op-kernel-dev-be2d877aaa043d23c0522fd3c7491b8ef7b631fa.tar.gz |
PCI: Remove redundant pci_dev, pci_bus, resource declarations
<linux/pci.h> defines struct pci_bus and struct pci_dev and includes the
struct resource definition before including <asm/pci.h>. Nobody includes
<asm/pci.h> directly, so they don't need their own declarations.
Remove the redundant struct pci_dev, pci_bus, resource declarations.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com> # CRIS
Acked-by: Ralf Baechle <ralf@linux-mips.org> # MIPS
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index c8975da..8dc32ea 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h @@ -28,8 +28,6 @@ #define PCIBIOS_MIN_IO 0x1000 #define PCIBIOS_MIN_MEM 0x10000000 -struct pci_dev; - /* Values for the `which' argument to sys_pciconfig_iobase syscall. */ #define IOBASE_BRIDGE_NUMBER 0 #define IOBASE_MEMORY 1 |