]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Remove redundant pci_dev, pci_bus, resource declarations
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 4 Oct 2017 20:15:22 +0000 (15:15 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 8 Nov 2017 00:38:48 +0000 (18:38 -0600)
commitbe2d877aaa043d23c0522fd3c7491b8ef7b631fa
treef856a6a6d8e033f3c45c5b9f0b6280fe166baae5
parent137ed9f0ee20b72e03492f8f0358cb19f74a89c4
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
arch/alpha/include/asm/pci.h
arch/cris/include/asm/pci.h
arch/frv/include/asm/pci.h
arch/ia64/include/asm/pci.h
arch/mips/include/asm/pci.h
arch/mn10300/include/asm/pci.h
arch/parisc/include/asm/pci.h
arch/powerpc/include/asm/pci.h
arch/sh/include/asm/pci.h
arch/sparc/include/asm/pci_32.h
arch/xtensa/include/asm/pci.h