From patchwork Fri Dec 1 05:06:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 10086143 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3AFA0603B4 for ; Fri, 1 Dec 2017 05:07:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BE4E2A4A0 for ; Fri, 1 Dec 2017 05:07:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C5E02A49B; Fri, 1 Dec 2017 05:07:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 968F12A495 for ; Fri, 1 Dec 2017 05:07:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751219AbdLAFHE (ORCPT ); Fri, 1 Dec 2017 00:07:04 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:60844 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751202AbdLAFHD (ORCPT ); Fri, 1 Dec 2017 00:07:03 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vB156TaY020057; Thu, 30 Nov 2017 23:06:29 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1512104789; bh=pKwmDopi1lOUEBksuLcAhFH1S4yYuUBaAh4C+mxa9qI=; h=From:To:CC:Subject:Date; b=Iq9/i51Zp8PTockxD+tW6i0dohMg4RonCdVMBiENhfNpcysNoEyU7lDByDnN73Ptj h2ALCpYfri4gAxsiR6tZwZnFPYw6qpKdccHs47Uz5vpag+ErY+UUXHYC89W238OrS2 EjbRMQDlZxOW44AhNOTY0Vfo633/J4ycr64Qcpoo= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB156Osm029472; Thu, 30 Nov 2017 23:06:24 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 30 Nov 2017 23:06:23 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 30 Nov 2017 23:06:23 -0600 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vB156LPj007286; Thu, 30 Nov 2017 23:06:21 -0600 From: Vignesh R To: Bjorn Helgaas CC: Kishon Vijay Abraham I , Lorenzo Pieralisi , , , , Vignesh R Subject: [PATCH] pci: dwc: pci-dra7xx: Make shutdown handler static Date: Fri, 1 Dec 2017 10:36:52 +0530 Message-ID: <20171201050652.13998-1-vigneshr@ti.com> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Declare dra7xx_pcie_shutdown() as a static function as its not used elsewhere. Signed-off-by: Vignesh R Reviewed-by: Keerthy --- drivers/pci/dwc/pci-dra7xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c index 59e8de34cec6..b9db442af793 100644 --- a/drivers/pci/dwc/pci-dra7xx.c +++ b/drivers/pci/dwc/pci-dra7xx.c @@ -815,7 +815,7 @@ static int dra7xx_pcie_resume_noirq(struct device *dev) } #endif -void dra7xx_pcie_shutdown(struct platform_device *pdev) +static void dra7xx_pcie_shutdown(struct platform_device *pdev) { struct device *dev = &pdev->dev; struct dra7xx_pcie *dra7xx = dev_get_drvdata(dev);