summaryrefslogtreecommitdiffstats
path: root/drivers/pci/dwc
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2017-12-01 06:06:52 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2017-12-20 11:42:19 +0100
commit4751fac776f37e75670c7bdb7a86f81553f538e0 (patch)
treec970009f6edc3958ecbaedfff02790a8aa5af0c2 /drivers/pci/dwc
parentLinux 4.15-rc4 (diff)
downloadlinux-4751fac776f37e75670c7bdb7a86f81553f538e0.tar.xz
linux-4751fac776f37e75670c7bdb7a86f81553f538e0.zip
pci: dwc: pci-dra7xx: Make shutdown handler static
Define dra7xx_pcie_shutdown() as a static function as it is not used in other compilation units. Signed-off-by: Vignesh R <vigneshr@ti.com> [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/pci/dwc')
-rw-r--r--drivers/pci/dwc/pci-dra7xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c
index e77a4ceed74c..2188ae734bf9 100644
--- a/drivers/pci/dwc/pci-dra7xx.c
+++ b/drivers/pci/dwc/pci-dra7xx.c
@@ -810,7 +810,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);