* [PATCH] microblaze/PCI: export isa_io_base to fix link errors
@ 2016-03-17 2:36 Fengguang Wu
2016-03-22 0:24 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2016-03-17 2:36 UTC (permalink / raw)
To: Michal Simek; +Cc: LKML
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" [drivers/watchdog/wdt_pci.ko] undefined!
ERROR: "isa_io_base" [drivers/watchdog/pcwd_pci.ko] undefined!
ERROR: "isa_io_base" [drivers/video/vgastate.ko] undefined!
...
ERROR: "isa_io_base" [drivers/video/fbdev/cirrusfb.ko] undefined!
ERROR: "isa_io_base" [drivers/video/fbdev/arkfb.ko] undefined!
ERROR: "isa_io_base" [drivers/usb/host/uhci-hcd.ko] undefined!
ERROR: "isa_io_base" [drivers/usb/host/isp1362-hcd.ko] undefined!
ERROR: "isa_io_base" [drivers/tty/serial/jsm/jsm.ko] undefined!
ERROR: "isa_io_base" [drivers/tty/serial/8250/8250_pci.ko] undefined!
...
ERROR: "isa_io_base" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
ERROR: "isa_io_base" [drivers/scsi/ppa.ko] undefined!
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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.0.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] microblaze/PCI: export isa_io_base to fix link errors
2016-03-17 2:36 [PATCH] microblaze/PCI: export isa_io_base to fix link errors Fengguang Wu
@ 2016-03-22 0:24 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2016-03-22 0:24 UTC (permalink / raw)
To: Fengguang Wu; +Cc: LKML
[-- Attachment #1.1: Type: text/plain, Size: 1981 bytes --]
On 17.3.2016 03:36, Fengguang Wu wrote:
> 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" [drivers/watchdog/wdt_pci.ko] undefined!
> ERROR: "isa_io_base" [drivers/watchdog/pcwd_pci.ko] undefined!
> ERROR: "isa_io_base" [drivers/video/vgastate.ko] undefined!
> ...
> ERROR: "isa_io_base" [drivers/video/fbdev/cirrusfb.ko] undefined!
> ERROR: "isa_io_base" [drivers/video/fbdev/arkfb.ko] undefined!
> ERROR: "isa_io_base" [drivers/usb/host/uhci-hcd.ko] undefined!
> ERROR: "isa_io_base" [drivers/usb/host/isp1362-hcd.ko] undefined!
> ERROR: "isa_io_base" [drivers/tty/serial/jsm/jsm.ko] undefined!
> ERROR: "isa_io_base" [drivers/tty/serial/8250/8250_pci.ko] undefined!
> ...
> ERROR: "isa_io_base" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!
> ERROR: "isa_io_base" [drivers/scsi/ppa.ko] undefined!
>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.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)
>
Applied.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-22 0:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17 2:36 [PATCH] microblaze/PCI: export isa_io_base to fix link errors Fengguang Wu
2016-03-22 0:24 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox