microblaze/PCI: Remove unnecessary struct pci_dev declaration
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Jun 2015 21:49:43 +0000 (16:49 -0500)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 8 Jun 2015 08:03:14 +0000 (10:03 +0200)
All users of arch/microblaze/include/asm/pci.h get it by including
include/linux/pci.h, which in turn includes <asm/pci.h> after it declares
struct pci_dev.

The forward declaration here is unnecessary, so remove it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/pci.h

index 541400d0c03eb7b9dff42d442e3504ee8d21471c..67224d3d4d7d923b8c050a255a241d40f0fcfa23 100644 (file)
@@ -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