diff options
| author | Bjorn Helgaas <bhelgaas@google.com> | 2017-10-04 16:15:22 -0400 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-07 19:38:48 -0500 |
| commit | be2d877aaa043d23c0522fd3c7491b8ef7b631fa (patch) | |
| tree | f856a6a6d8e033f3c45c5b9f0b6280fe166baae5 /arch/ia64 | |
| parent | 137ed9f0ee20b72e03492f8f0358cb19f74a89c4 (diff) | |
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/ia64')
| -rw-r--r-- | arch/ia64/include/asm/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h index 6459f2d46200..8c4b37f6be3d 100644 --- a/arch/ia64/include/asm/pci.h +++ b/arch/ia64/include/asm/pci.h | |||
| @@ -31,8 +31,6 @@ struct pci_vector_struct { | |||
| 31 | 31 | ||
| 32 | void pcibios_config_init(void); | 32 | void pcibios_config_init(void); |
| 33 | 33 | ||
| 34 | struct pci_dev; | ||
| 35 | |||
| 36 | /* | 34 | /* |
| 37 | * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct | 35 | * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct |
| 38 | * correspondence between device bus addresses and CPU physical addresses. | 36 | * correspondence between device bus addresses and CPU physical addresses. |
