From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751999AbbASDTm (ORCPT ); Sun, 18 Jan 2015 22:19:42 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:10916 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751797AbbASDTi (ORCPT ); Sun, 18 Jan 2015 22:19:38 -0500 Message-ID: <54BC77B3.6080701@huawei.com> Date: Mon, 19 Jan 2015 11:19:15 +0800 From: Yijing Wang User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Arnd Bergmann CC: Bjorn Helgaas , Jiang Liu , , Yinghai Lu , , Marc Zyngier , , Russell King , , Thomas Gleixner , Tony Luck , , "David S. Miller" , "Guan Xuetao" , , , Liviu Dudau , "Geert Uytterhoeven" Subject: Re: [PATCH 27/28] PCI: Remove platform specific pci_domain_nr() References: <1421372666-12288-1-git-send-email-wangyijing@huawei.com> <1421372666-12288-28-git-send-email-wangyijing@huawei.com> <1561857.t9qV46uRjC@wuerfel> In-Reply-To: <1561857.t9qV46uRjC@wuerfel> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.27.212] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.54BC77BE.001C,ss=1,re=0.001,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: f2df996b0117f666d9d6232153005a8f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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