Просмотр исходного кода

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>
Bjorn Helgaas 10 лет назад
Родитель
Сommit
c4fa9a6ae2
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      arch/microblaze/include/asm/pci.h

+ 0 - 2
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