summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-10-04 23:15:22 +0300
committerBjorn Helgaas <bhelgaas@google.com>2017-11-08 03:38:48 +0300
commitbe2d877aaa043d23c0522fd3c7491b8ef7b631fa (patch)
treef856a6a6d8e033f3c45c5b9f0b6280fe166baae5 /arch/parisc/include
parent137ed9f0ee20b72e03492f8f0358cb19f74a89c4 (diff)
downloadlinux-be2d877aaa043d23c0522fd3c7491b8ef7b631fa.tar.xz
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/parisc/include')
-rw-r--r--arch/parisc/include/asm/pci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h
index b5730f83b941..8cc009e26a28 100644
--- a/arch/parisc/include/asm/pci.h
+++ b/arch/parisc/include/asm/pci.h
@@ -87,13 +87,6 @@ struct pci_hba_data {
#endif /* !CONFIG_64BIT */
/*
-** KLUGE: linux/pci.h include asm/pci.h BEFORE declaring struct pci_bus
-** (This eliminates some of the warnings).
-*/
-struct pci_bus;
-struct pci_dev;
-
-/*
* If the PCI device's view of memory is the same as the CPU's view of memory,
* PCI_DMA_BUS_IS_PHYS is true. The networking and block device layers use
* this boolean for bounce buffer decisions.