From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f178.google.com ([209.85.223.178]:38902 "EHLO mail-ie0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933138AbaKMQmf (ORCPT ); Thu, 13 Nov 2014 11:42:35 -0500 Received: by mail-ie0-f178.google.com with SMTP id rp18so16188764iec.9 for ; Thu, 13 Nov 2014 08:42:35 -0800 (PST) Date: Thu, 13 Nov 2014 09:42:32 -0700 From: Bjorn Helgaas To: Jingoo Han Cc: linux-pci@vger.kernel.org, 'Kishon Vijay Abraham I' Subject: Re: [PATCH V2] PCI: dra7xx: Add dra7xx prefix before add_pcie_port Message-ID: <20141113164232.GB5064@google.com> References: <001301cff95e$a124f6b0$e36ee410$%han@samsung.com> <001c01cff982$d2e4fa00$78aeee00$%han@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <001c01cff982$d2e4fa00$78aeee00$%han@samsung.com> Sender: linux-pci-owner@vger.kernel.org List-ID: On Thu, Nov 06, 2014 at 02:30:49PM +0900, Jingoo Han wrote: > The add_pcie_port function is dra7xx-specific. Add dra7xx prefix > to avoid collision in global name space. > > Signed-off-by: Jingoo Han > Acked-by: Kishon Vijay Abraham I Applied to pci/host-dra7xx for v3.19, thanks! > --- > - Replace 'exynos' typo with 'dra7xx' in the commit message. > - Added Kishon's Acked-by. > > drivers/pci/host/pci-dra7xx.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c > index 52b34fe..5b4a644 100644 > --- a/drivers/pci/host/pci-dra7xx.c > +++ b/drivers/pci/host/pci-dra7xx.c > @@ -270,8 +270,8 @@ static irqreturn_t dra7xx_pcie_irq_handler(int irq, void *arg) > return IRQ_HANDLED; > } > > -static int add_pcie_port(struct dra7xx_pcie *dra7xx, > - struct platform_device *pdev) > +static int dra7xx_add_pcie_port(struct dra7xx_pcie *dra7xx, > + struct platform_device *pdev) > { > int ret; > struct pcie_port *pp; > @@ -398,7 +398,7 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev) > > platform_set_drvdata(pdev, dra7xx); > > - ret = add_pcie_port(dra7xx, pdev); > + ret = dra7xx_add_pcie_port(dra7xx, pdev); > if (ret < 0) > goto err_add_port; > > -- > 1.7.9.5 > >