Skip to content

Commit

Permalink
microblaze/PCI: fix "io_offset undeclared" error
Browse files Browse the repository at this point in the history
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 58de74b]
Signed-off-by: Hiroo MATSUMOTO <matsumoto.hiroo@jp.fujitsu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Bjorn Helgaas committed May 15, 2012
1 parent 867aae6 commit 5420e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/microblaze/pci/pci-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5420e46

Please sign in to comment.