summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorBjorn Helgaas2017-10-04 22:15:22 +0200
committerBjorn Helgaas2017-11-08 01:38:48 +0100
commitbe2d877aaa043d23c0522fd3c7491b8ef7b631fa (patch)
treef856a6a6d8e033f3c45c5b9f0b6280fe166baae5 /arch/alpha
parentPCI: Remove redundant pcibios_set_master() declarations (diff)
downloadkernel-qcow2-linux-be2d877aaa043d23c0522fd3c7491b8ef7b631fa.tar.gz
kernel-qcow2-linux-be2d877aaa043d23c0522fd3c7491b8ef7b631fa.tar.xz
kernel-qcow2-linux-be2d877aaa043d23c0522fd3c7491b8ef7b631fa.zip
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/alpha')
-rw-r--r--arch/alpha/include/asm/pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/alpha/include/asm/pci.h b/arch/alpha/include/asm/pci.h
index 777be3114fda..0a10ff93b174 100644
--- a/arch/alpha/include/asm/pci.h
+++ b/arch/alpha/include/asm/pci.h
@@ -12,9 +12,6 @@
* The following structure is used to manage multiple PCI busses.
*/
-struct pci_dev;
-struct pci_bus;
-struct resource;
struct pci_iommu_arena;
struct page;