summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2015-06-04 16:49:43 -0500
committerMichal Simek <michal.simek@xilinx.com>2015-06-08 10:03:14 +0200
commitc4fa9a6ae285ec4777d0524a4ee9c9039a5a4c28 (patch)
treed16e61dd89664c8a0d5c5d3b21ef868f25eb0d7d /arch/microblaze
parent99fdc6b9bd022ab5fb0f2e45f11a5a53697221fb (diff)
downloadlwn-c4fa9a6ae285ec4777d0524a4ee9c9039a5a4c28.tar.gz
lwn-c4fa9a6ae285ec4777d0524a4ee9c9039a5a4c28.zip
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 <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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/include/asm/pci.h2
1 files changed, 0 insertions, 2 deletions
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