diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-15 19:03:25 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-05-15 19:03:25 -0400 |
commit | 5420e46d4d79bcd5d5952df98d022c8412385d32 (patch) | |
tree | 02932a2ca80b5b0f5812e238e3fc0f02616d069e /arch/microblaze | |
parent | 867aae6ebe593db73fb8a676475ee20227292cfe (diff) |
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/pci/pci-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c index d10403dadd2b..ed22bfc5db14 100644 --- a/arch/microblaze/pci/pci-common.c +++ b/arch/microblaze/pci/pci-common.c | |||
@@ -1422,6 +1422,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) | |||
1422 | 1422 | ||
1423 | static void __devinit pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources) | 1423 | static void __devinit pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources) |
1424 | { | 1424 | { |
1425 | unsigned long io_offset; | ||
1425 | struct resource *res; | 1426 | struct resource *res; |
1426 | int i; | 1427 | int i; |
1427 | 1428 | ||