Browse Source

microblaze/PCI: fix "io_offset undeclared" error

There is a compile error for microblaze pci because io_offset is not
declared. This patch adds declaration of io_offset.

[bhelgaas: I introduced this problem with 58de74b8053]
Signed-off-by: Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Bjorn Helgaas 13 years ago
parent
commit
5420e46d4d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/microblaze/pci/pci-common.c

+ 1 - 0
arch/microblaze/pci/pci-common.c

@@ -1422,6 +1422,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
 
 static void __devinit pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources)
 {
+	unsigned long io_offset;
 	struct resource *res;
 	int i;