[PATCH 2/4] PCI: Remove redundant pci_dev, pci_bus, resource declarations

Ralf Baechle ralf at linux-mips.org
Tue Oct 10 00:12:27 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>

For MIPS:

Acked-by: Ralf Baechle <ralf at linux-mips.org>

  Ralf


More information about the Linuxppc-dev mailing list