Commit 5420e46d authored by Bjorn Helgaas's avatar Bjorn Helgaas

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 58de74b8]
Signed-off-by: default avatarHiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 867aae6e
...@@ -1422,6 +1422,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) ...@@ -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) static void __devinit pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources)
{ {
unsigned long io_offset;
struct resource *res; struct resource *res;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment