pci: dwc: pci-dra7xx: Make shutdown handler static
authorVignesh R <vigneshr@ti.com>
Fri, 1 Dec 2017 05:06:52 +0000 (10:36 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 20 Dec 2017 10:42:19 +0000 (10:42 +0000)
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>
drivers/pci/dwc/pci-dra7xx.c

index e77a4ceed74c62392527eac2bec565f849a8ab20..2188ae734bf9f93b822e4ae9d83c3e123bbf6745 100644 (file)
@@ -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);