microblaze/pci: Fix compile error
Subsystems (2)
PATCH 1/1 microblaze/pci: Fix compile error
Hi
There is a compile error for microblaze pci because io_offset is not declared. This patch adds declaration of io_offset.
* Compile error messagearch/microblaze/pci/pci-common.c: In function 'pcibios_setup_phb_resources':arch/microblaze/pci/pci-common.c:1525: error: 'io_offset' undeclared (first use in this function) arch/microblaze/pci/pci-common.c:1525: error: (Each undeclared identifier is reported only once arch/microblaze/pci/pci-common.c:1525: error: for each function it appears in.)
make[1]: *** [arch/microblaze/pci/pci-common.o] Error 1
make: *** [arch/microblaze/pci] Error 2
Regards.
Hiroo MATSUMOTO
arch/microblaze/pci/pci-common.c +1 -0
@@ -1515,6 +1515,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;
Quoted 30 lines · Hiroo Matsumoto
Hi
There is a compile error for microblaze pci because
io_offsetis not declared. This patch adds declaration ofio_offset.* Compile error message
arch/microblaze/pci/pci-common.c: In function 'pcibios_setup_phb_resources':arch/microblaze/pci/pci-common.c:1525: error: 'io_offset' undeclared (first use in this function)arch/microblaze/pci/pci-common.c:1525: error: (Each undeclared identifier is reported only oncearch/microblaze/pci/pci-common.c:1525: error: for each function it appears in.)
make[1]: *** [arch/microblaze/pci/pci-common.o] Error 1
make: *** [arch/microblaze/pci] Error 2Regards.
Hiroo MATSUMOTO
Signed-off-by Hiroo MATSUMOTO <[email protected]>arch/microblaze/pci/pci-common.c +0
-0
arch/microblaze/pci/pci-common.c int pcibios_enable_device(struct pci_dev *dev, int mask) · line 1521
Quoted 7 lines
arch/microblaze/pci/pci-common.c +1
-0@@ -1515,6 +1515,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;
Applied to my "next" branch, thanks.
Bjorn