Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758065AbcCVAY7 (ORCPT ); Mon, 21 Mar 2016 20:24:59 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:35219 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbcCVAY4 (ORCPT ); Mon, 21 Mar 2016 20:24:56 -0400 Reply-To: monstr@monstr.eu Subject: Re: [PATCH] microblaze/PCI: export isa_io_base to fix link errors References: <20160317023628.GA8680@wfg-t540p.sh.intel.com> To: Fengguang Wu Cc: LKML From: Michal Simek Message-ID: <56F090D5.7030306@monstr.eu> Date: Tue, 22 Mar 2016 01:24:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160317023628.GA8680@wfg-t540p.sh.intel.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BrmmEVBQrVrf6Gwco6UxSAbgNsigUisaB" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3111 Lines: 87 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BrmmEVBQrVrf6Gwco6UxSAbgNsigUisaB Content-Type: multipart/mixed; boundary="KDbCwHCkJMeL82f0Aham4hbSbNGU0fO1j" From: Michal Simek Reply-To: monstr@monstr.eu To: Fengguang Wu Cc: LKML Message-ID: <56F090D5.7030306@monstr.eu> Subject: Re: [PATCH] microblaze/PCI: export isa_io_base to fix link errors References: <20160317023628.GA8680@wfg-t540p.sh.intel.com> In-Reply-To: <20160317023628.GA8680@wfg-t540p.sh.intel.com> --KDbCwHCkJMeL82f0Aham4hbSbNGU0fO1j Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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! >=20 > Signed-off-by: Fengguang Wu > --- > arch/microblaze/pci/pci-common.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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; > =20 > unsigned long isa_io_base; > +EXPORT_SYMBOL(isa_io_base); > + > static int pci_bus_count; > =20 > struct pci_controller *pcibios_alloc_controller(struct device_node *de= v) >=20 Applied. Thanks, Michal --=20 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 --KDbCwHCkJMeL82f0Aham4hbSbNGU0fO1j-- --BrmmEVBQrVrf6Gwco6UxSAbgNsigUisaB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlbwkNUACgkQykllyylKDCGw8gCgifWARse9MuwZHS9Nigt/vd+t FxQAnRvO/DdgkVukpBlHo7FZ5qJeOh/u =EGX+ -----END PGP SIGNATURE----- --BrmmEVBQrVrf6Gwco6UxSAbgNsigUisaB--