From: Bjorn Helgaas Date: Thu, 4 Jun 2015 21:49:43 +0000 (-0500) Subject: microblaze/PCI: Remove unnecessary struct pci_dev declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c4fa9a6ae285ec4777d0524a4ee9c9039a5a4c28;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git microblaze/PCI: Remove unnecessary struct pci_dev declaration All users of arch/microblaze/include/asm/pci.h get it by including include/linux/pci.h, which in turn includes after it declares struct pci_dev. The forward declaration here is unnecessary, so remove it. Signed-off-by: Bjorn Helgaas CC: Michal Simek Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 541400d0c03e..67224d3d4d7d 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -27,8 +27,6 @@ #define PCIBIOS_MIN_IO 0x1000 #define PCIBIOS_MIN_MEM 0x10000000 -struct pci_dev; - /* Values for the `which' argument to sys_pciconfig_iobase syscall. */ #define IOBASE_BRIDGE_NUMBER 0 #define IOBASE_MEMORY 1