From patchwork Thu Nov 6 01:11:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 5238611 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CEDAFC11AC for ; Thu, 6 Nov 2014 01:11:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0ED4920173 for ; Thu, 6 Nov 2014 01:11:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EDD1A2015E for ; Thu, 6 Nov 2014 01:11:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751281AbaKFBLM (ORCPT ); Wed, 5 Nov 2014 20:11:12 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:17037 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbaKFBLL (ORCPT ); Wed, 5 Nov 2014 20:11:11 -0500 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEL00A8IFAMEF30@mailout4.samsung.com> for linux-pci@vger.kernel.org; Thu, 06 Nov 2014 10:11:10 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 24.1A.11124.DAACA545; Thu, 06 Nov 2014 10:11:10 +0900 (KST) X-AuditID: cbfee68e-f79b46d000002b74-70-545acaad7526 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 10.67.20081.DAACA545; Thu, 06 Nov 2014 10:11:09 +0900 (KST) Received: from DOJG1HAN03 ([10.89.38.123]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NEL0037LFALM310@mmp2.samsung.com>; Thu, 06 Nov 2014 10:11:09 +0900 (KST) From: Jingoo Han To: 'Bjorn Helgaas' Cc: linux-pci@vger.kernel.org, 'Kishon Vijay Abraham I' , 'Jingoo Han' Subject: [PATCH] PCI: dra7xx: Add dra7xx prefix before add_pcie_port Date: Thu, 06 Nov 2014 10:11:44 +0900 Message-id: <001301cff95e$a124f6b0$e36ee410$%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+Qu2XYSIO0ZfB2g== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsVy+t8zfd11p6JCDPasYLRY0pRhcXnhJVaL C0972CzOzjvO5sDisWBTqUffllWMHsdvbGfy+LxJLoAlissmJTUnsyy1SN8ugSvj2ebNzAXL OSrmzb3L2sD4jq2LkZNDQsBEYvq5K6wQtpjEhXvrgeJcHEICyxgl1h6YwARTdP/pI0aIxHRG iQUnDkNV/WKUaPxwlR2kik1ATeLLl8NgtoiApsTsFVvAupkFciU+b7kAtkJYwEXixddvYHEW AVWJE/96weK8ArYS3eevsUHYghI/Jt9jgejVkli/8zjUHHmJzWveMncxcgBdpC7x6K8uxCo9 iYs3ZzFClIhI7HvxjhHi6HXsEqv6siBWCUh8m3yIBaJVVmLTAWaIEkmJgytusExgFJuFZPEs JItnIVk8C8mGBYwsqxhFUwuSC4qT0ouM9IoTc4tL89L1kvNzNzFCIqxvB+PNA9aHGAU4GJV4 eHccjQoRYk0sK67MPcRoCnTRRGYp0eR8YBznlcQbGpsZW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Xi1bYrlDbfKce1Nl218u1Htz8nHAjfdvD6s5S4kZz9l495C+0YGlwn80BZcfyVdiKc5INNRi LipOBAC8HokR9gIAAA== 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 exynos prefix to avoid collision in global name space. Signed-off-by: Jingoo Han Acked-by: Kishon Vijay Abraham I --- 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;