summaryrefslogtreecommitdiff
path: root/drivers/pci/dwc/pci-dra7xx.c
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2017-12-01 08:06:52 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2017-12-20 13:42:19 +0300
commit4751fac776f37e75670c7bdb7a86f81553f538e0 (patch)
treec970009f6edc3958ecbaedfff02790a8aa5af0c2 /drivers/pci/dwc/pci-dra7xx.c
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff)
downloadlinux-4751fac776f37e75670c7bdb7a86f81553f538e0.tar.xz
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/pci-dra7xx.c')
-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);