From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yijing Wang Subject: Re: [PATCH 27/28] PCI: Remove platform specific pci_domain_nr() Date: Mon, 19 Jan 2015 11:19:15 +0800 Message-ID: <54BC77B3.6080701@huawei.com> References: <1421372666-12288-1-git-send-email-wangyijing@huawei.com> <1421372666-12288-28-git-send-email-wangyijing@huawei.com> <1561857.t9qV46uRjC@wuerfel> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1561857.t9qV46uRjC@wuerfel> Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Arnd Bergmann Cc: Bjorn Helgaas , Jiang Liu , linux-pci@vger.kernel.org, Yinghai Lu , linux-kernel@vger.kernel.org, Marc Zyngier , linux-arm-kernel@lists.infradead.org, Russell King , x86@kernel.org, Thomas Gleixner , Tony Luck , linux-ia64@vger.kernel.org, "David S. Miller" , Guan Xuetao , linux-alpha@vger.kernel.org, linux-m68k@lists.linux-m68k.org, Liviu Dudau , Geert Uytterhoeven On 2015/1/16 17:44, Arnd Bergmann wrote: > On Friday 16 January 2015 09:44:25 Yijing Wang wrote: >> >> +int pci_domain_nr(struct pci_bus *bus) >> +{ >> + struct pci_host_bridge *host = find_pci_host_bridge(bus); >> + >> + return host->domain; >> +} >> +EXPORT_SYMBOL_GPL(pci_domain_nr); >> + > > Since most of the existing functions are exported as EXPORT_SYMBOL > rather than EXPORT_SYMBOL_GPL, I think the new version should do > the same. Good catch. Thanks! > > Arnd > > . > -- Thanks! Yijing