Skip to contentSkip to conversation

arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break

PATCH In review Chen Gang 1 participant 2 messages Sep 14, 2014 Microblaze architecture

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break

Export it just like another architectures have done (e.g. powerpc). The related error with allmodconfig:

ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!
ERROR: "isa_io_base" [sound/pci/trident/snd-trident.ko] undefined!
...
ERROR: "isa_io_base" [drivers/ata/pata_artop.ko] undefined!
ERROR: "isa_io_base" [drivers/ata/libata.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

---
 arch/microblaze/pci/pci-common.c | 1 +
 1 file changed, 1 insertion(+)
arch/microblaze/pci/pci-common.c +1 -0
index 9037914..6c57a6a 100644
@@ -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)
Signature · 1 line
1.9.3
author
#1 lore raw

After this patch, excluding many warnings, it can pass allmodconfig for next-20140912.

Thanks.

Quoted 29 lines · Chen Gang

Export it just like another architectures have done (e.g. powerpc). The related error with allmodconfig:

ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!
ERROR: "isa_io_base" [sound/pci/trident/snd-trident.ko] undefined!
...
ERROR: "isa_io_base" [drivers/ata/pata_artop.ko] undefined!
ERROR: "isa_io_base" [drivers/ata/libata.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

---
 arch/microblaze/pci/pci-common.c | 1 +
 1 file changed, 1 insertion(+)
arch/microblaze/pci/pci-common.c +1 -0
index 9037914..6c57a6a 100644
@@ -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)
Signature · 3 lines
Chen Gang

Open share and attitude like air water and life which God blessed