[PATCH 2/4] PCI: Remove redundant pci_dev, pci_bus, resource declarations
Jesper Nilsson
jesper.nilsson at axis.com
Fri Oct 6 18:27:13 AEDT 2017
On Thu, Oct 05, 2017 at 03:38:49PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas at google.com>
>
> <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 at google.com>
> ---
> arch/alpha/include/asm/pci.h | 3 ---
> arch/cris/include/asm/pci.h | 2 --
For what it's worth, for the cris changes:
Acked-by: Jesper Nilsson <jesper.nilsson at axis.com>
> arch/frv/include/asm/pci.h | 2 --
> arch/ia64/include/asm/pci.h | 2 --
> arch/mips/include/asm/pci.h | 2 --
> arch/mn10300/include/asm/pci.h | 2 --
> arch/parisc/include/asm/pci.h | 7 -------
> arch/powerpc/include/asm/pci.h | 2 --
> arch/sh/include/asm/pci.h | 2 --
> arch/sparc/include/asm/pci_32.h | 2 --
> arch/xtensa/include/asm/pci.h | 2 --
> 11 files changed, 28 deletions(-)
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson at axis.com
More information about the Linuxppc-dev
mailing list