From: Bjorn Helgaas <helgaas@kernel.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pci: export devm_request_pci_bus_resources to modules
Date: Mon, 20 Jun 2016 14:05:33 -0500 [thread overview]
Message-ID: <20160620190533.GB15674@localhost> (raw)
In-Reply-To: <20160620154604.2280100-1-arnd@arndb.de>
On Mon, Jun 20, 2016 at 05:45:41PM +0200, Arnd Bergmann wrote:
> Host drivers can be loadable modules, so we might run into this
> build error with the new interface:
>
> ERROR: devm_request_pci_bus_resources [drivers/pci/host/pcie-iproc.ko] undefined!
>
> This adds an EXPORT_SYMBOL_GPL() line.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Folded in, thanks, Arnd!
> ---
> drivers/pci/bus.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c
> index 4c42a1013e3b..32efe8f5d5e9 100644
> --- a/drivers/pci/bus.c
> +++ b/drivers/pci/bus.c
> @@ -132,6 +132,7 @@ int devm_request_pci_bus_resources(struct device *dev,
>
> return 0;
> }
> +EXPORT_SYMBOL_GPL(devm_request_pci_bus_resources);
>
> static struct pci_bus_region pci_32_bit = {0, 0xffffffffULL};
> #ifdef CONFIG_PCI_BUS_ADDR_T_64BIT
> --
> 2.9.0
>
prev parent reply other threads:[~2016-06-20 19:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-20 15:45 [PATCH] pci: export devm_request_pci_bus_resources to modules Arnd Bergmann
2016-06-20 19:05 ` Bjorn Helgaas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160620190533.GB15674@localhost \
--to=helgaas@kernel.org \
--cc=arnd@arndb.de \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).