* [PATCH] arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break
@ 2014-09-14 8:44 Chen Gang
2014-09-14 8:48 ` Chen Gang
0 siblings, 1 reply; 2+ messages in thread
From: Chen Gang @ 2014-09-14 8:44 UTC (permalink / raw)
To: Michal Simek, grant.likely, tony, bhelgaas,
Benjamin Herrenschmidt, rob.herring, sebott
Cc: linux-kernel@vger.kernel.org
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
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
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 9037914..6c57a6a 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)
--
1.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break
2014-09-14 8:44 [PATCH] arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break Chen Gang
@ 2014-09-14 8:48 ` Chen Gang
0 siblings, 0 replies; 2+ messages in thread
From: Chen Gang @ 2014-09-14 8:48 UTC (permalink / raw)
To: Michal Simek, grant.likely, tony, bhelgaas,
Benjamin Herrenschmidt, rob.herring, sebott
Cc: linux-kernel@vger.kernel.org
After this patch, excluding many warnings, it can pass allmodconfig for
next-20140912.
Thanks.
On 09/14/2014 04:44 PM, Chen Gang wrote:
> 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
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
> 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 9037914..6c57a6a 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)
>
--
Chen Gang
Open share and attitude like air water and life which God blessed
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-14 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-14 8:44 [PATCH] arch/microblaze/pci/pci-common.c: Export 'isa_io_base' for compiling break Chen Gang
2014-09-14 8:48 ` Chen Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox