2015-06-17 20:18:31

by Nicolai Stange

[permalink] [raw]
Subject: [PATCH] microblaze: export symbol isa_io_base to modules

Fix allmodconfig linking failer on microblaze:
ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!
[...]

Export the .bss symbol isa_io_base from pci-common.c by means of
EXPORT_SYMBOL.

Signed-off-by: Nicolai Stange <[email protected]>
---
arch/microblaze/pci/pci-common.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c
index ae838ed..3252881 100644
--- a/arch/microblaze/pci/pci-common.c
+++ b/arch/microblaze/pci/pci-common.c
@@ -48,6 +48,7 @@ static int global_phb_number; /* Global phb counter */
resource_size_t isa_mem_base;

unsigned long isa_io_base;
+EXPORT_SYMBOL(isa_io_base);
static int pci_bus_count;

struct pci_controller *pcibios_alloc_controller(struct device_node *dev)
--
2.4.3