* [PATCH] arch/microblaze: export isa_io_base to modules
@ 2016-03-07 19:29 Nicolai Stange
2016-03-07 20:32 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Nicolai Stange @ 2016-03-07 19:29 UTC (permalink / raw)
To: Michal Simek
Cc: Tomi Valkeinen, Takashi Iwai, Bjorn Helgaas, Lorenzo Pieralisi,
Yijing Wang, Yinghai Lu, kbuild test robot, Nicolai Stange,
linux-kernel
As discovered by the kbuild test robot, an allmodconfig build on
microblaze bails out with
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" [sound/pci/snd-via82xx.ko] undefined!
ERROR: "isa_io_base" [sound/pci/snd-via82xx-modem.ko] undefined!
ERROR: "isa_io_base" [sound/pci/snd-sonicvibes.ko] undefined!
[... plus dozens more throughout the tree]
Export isa_io_base to modules by means of EXPORT_SYMBOL().
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
---
arch/microblaze/pci/pci-common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c
index ae838ed..fba7a46 100644
--- a/arch/microblaze/pci/pci-common.c
+++ b/arch/microblaze/pci/pci-common.c
@@ -48,6 +48,8 @@ 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.7.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arch/microblaze: export isa_io_base to modules
2016-03-07 19:29 [PATCH] arch/microblaze: export isa_io_base to modules Nicolai Stange
@ 2016-03-07 20:32 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2016-03-07 20:32 UTC (permalink / raw)
To: Nicolai Stange
Cc: Michal Simek, Tomi Valkeinen, Takashi Iwai, Bjorn Helgaas,
Lorenzo Pieralisi, Yijing Wang, Yinghai Lu, kbuild test robot,
linux-kernel
On Mon, Mar 07, 2016 at 08:29:24PM +0100, Nicolai Stange wrote:
> As discovered by the kbuild test robot, an allmodconfig build on
> microblaze bails out with
>
> 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" [sound/pci/snd-via82xx.ko] undefined!
> ERROR: "isa_io_base" [sound/pci/snd-via82xx-modem.ko] undefined!
> ERROR: "isa_io_base" [sound/pci/snd-sonicvibes.ko] undefined!
> [... plus dozens more throughout the tree]
>
> Export isa_io_base to modules by means of EXPORT_SYMBOL().
>
> Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Michal, this was sent to you, so I assume you'll handle it. Let me
know if you want me to do anything else with it.
> ---
> arch/microblaze/pci/pci-common.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/microblaze/pci/pci-common.c b/arch/microblaze/pci/pci-common.c
> index ae838ed..fba7a46 100644
> --- a/arch/microblaze/pci/pci-common.c
> +++ b/arch/microblaze/pci/pci-common.c
> @@ -48,6 +48,8 @@ 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.7.2
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-07 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07 19:29 [PATCH] arch/microblaze: export isa_io_base to modules Nicolai Stange
2016-03-07 20:32 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox