From 5420e46d4d79bcd5d5952df98d022c8412385d32 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Tue, 15 May 2012 17:03:25 -0600 Subject: 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 Signed-off-by: Bjorn Helgaas --- arch/microblaze/pci/pci-common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/microblaze') 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) static void __devinit pcibios_setup_phb_resources(struct pci_controller *hose, struct list_head *resources) { + unsigned long io_offset; struct resource *res; int i; -- cgit v1.2.3