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 <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Acked-by: Jesper Nilsson <[email protected]>	# CRIS
Acked-by: Ralf Baechle <[email protected]>		# MIPS
This commit is contained in:
Bjorn Helgaas 2017-10-04 15:15:22 -05:00
commit be2d877aaa
11 changed files with 0 additions and 28 deletions

View file

@ -31,8 +31,6 @@ struct pci_vector_struct {
void pcibios_config_init(void);
struct pci_dev;
/*
* PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct
* correspondence between device bus addresses and CPU physical addresses.