]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
microblaze/PCI: fix "io_offset undeclared" error
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 15 May 2012 23:03:25 +0000 (17:03 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 May 2012 23:03:25 +0000 (17:03 -0600)
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>
arch/microblaze/pci/pci-common.c

index d10403dadd2b3a2021ded3f26ad052640a457f75..ed22bfc5db1476829179e4ebbda3a90322416b70 100644 (file)
@@ -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;