projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
867aae6
)
microblaze/PCI: fix "io_offset undeclared" error
author
Bjorn Helgaas
<
[email protected]
>
Tue, 15 May 2012 23:03:25 +0000
(17:03 -0600)
committer
Bjorn Helgaas
<
[email protected]
>
Tue, 15 May 2012 23:03:25 +0000
(17:03 -0600)
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 <
[email protected]
>
Signed-off-by: Bjorn Helgaas <
[email protected]
>
arch/microblaze/pci/pci-common.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/pci/pci-common.c
b/arch/microblaze/pci/pci-common.c
index d10403dadd2b3a2021ded3f26ad052640a457f75..ed22bfc5db1476829179e4ebbda3a90322416b70 100644
(file)
--- 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;