path: root/arch/xtensa
diff options
authorBjorn Helgaas <>2017-10-04 15:15:22 -0500
committerBjorn Helgaas <>2017-11-07 18:38:48 -0600
commitbe2d877aaa043d23c0522fd3c7491b8ef7b631fa (patch)
treef856a6a6d8e033f3c45c5b9f0b6280fe166baae5 /arch/xtensa
parent137ed9f0ee20b72e03492f8f0358cb19f74a89c4 (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 <> Reviewed-by: Ingo Molnar <> Acked-by: Jesper Nilsson <> # CRIS Acked-by: Ralf Baechle <> # MIPS
Diffstat (limited to 'arch/xtensa')
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/pci.h b/arch/xtensa/include/asm/pci.h
index e4f366a488d3..5c83798e3b2e 100644
--- a/arch/xtensa/include/asm/pci.h
+++ b/arch/xtensa/include/asm/pci.h
@@ -37,8 +37,6 @@ extern struct pci_controller* pcibios_alloc_controller(void);
#include <linux/string.h>
#include <asm/io.h>
-struct pci_dev;
/* The PCI address space does equal the physical memory address space.
* The networking and block device layers use this boolean for bounce buffer
* decisions.