On Thu, Oct 05, 2017 at 03:38:49PM -0500, Bjorn Helgaas wrote:
From: Bjorn Helgaas <bhelgaas@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@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@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@axis.com