From patchwork Thu Nov 6 05:30:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 5239151 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D0F29FD45 for ; Thu, 6 Nov 2014 05:30:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC9FE2010B for ; Thu, 6 Nov 2014 05:30:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CFEC9200F4 for ; Thu, 6 Nov 2014 05:30:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751065AbaKFFaS (ORCPT ); Thu, 6 Nov 2014 00:30:18 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:34399 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751077AbaKFFaQ (ORCPT ); Thu, 6 Nov 2014 00:30:16 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEL009VGRAFHYC0@mailout2.samsung.com> for linux-pci@vger.kernel.org; Thu, 06 Nov 2014 14:30:15 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id CF.AC.11124.7670B545; Thu, 06 Nov 2014 14:30:15 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-df-545b0767e889 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D6.A3.20081.7670B545; Thu, 06 Nov 2014 14:30:15 +0900 (KST) Received: from DOJG1HAN03 ([10.89.38.123]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEL008I7RAFZDP1@mmp1.samsung.com>; Thu, 06 Nov 2014 14:30:15 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Kishon Vijay Abraham I' , 'Jingoo Han' References: <001301cff95e$a124f6b0$e36ee410$%han@samsung.com> In-reply-to: <001301cff95e$a124f6b0$e36ee410$%han@samsung.com> Subject: [PATCH V2] PCI: dra7xx: Add dra7xx prefix before add_pcie_port Date: Thu, 06 Nov 2014 14:30:49 +0900 Message-id: <001c01cff982$d2e4fa00$78aeee00$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac/5XqEWcvpF+OO+Qu2XYSIO0ZfB2gAI2Pnw Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsVy+t8zA9109ugQg1dfBCyWNGVYXF54idXi wtMeNouz846zObB4LNhU6tG3ZRWjx/Eb25k8Pm+SC2CJ4rJJSc3JLEst0rdL4MqYvnYDY8FW zooTx+oaGB+zdzFyckgImEjcvdDFBGGLSVy4t56ti5GLQ0hgGaPEkc7rjDBFVzZsg0osYpS4 cvcDE4Tzi1Hi+r6TYKPYBNQkvnw5DGaLCGhKzF6xBWwss0CuxOctF1hBbCEBW4krj1rB4pwC dhIHumaBbRAWcJfYdfI0mM0ioCpx+HwfWA0vUP2spR9YIWxBiR+T77FAzNSSWL/zONR8eYnN a94ydzFyAF2qLvHory7ECUYS149dhyoRkdj34h0jyM0SAofYJS627GSG2CUg8W3yIRaIXlmJ TQeYIR6WlDi44gbLBEaJWU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J5YkpqdmlqQWgTTx8TBKdXAGMH7Zd6KBeGJ9qfSmvMO7/ZXK7n4 9fHsDRs+yGscW5T75WbG+2eH3lyI8J1QPe/QRGGGPSk/tWcZph6L+Vb/Y7lDtvhKmTLNR5xl 3EuDtbt29+31Ng79tbCj8oH8GvZUPssjJjofHk++bG9QsbAvYPnz2s1maooms3geaJ2fvmiJ wxn5s8+szyqxFGckGmoxFxUnAgCail4JDQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- - 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;