From: Vignesh R Date: Fri, 1 Dec 2017 05:06:52 +0000 (+0530) Subject: pci: dwc: pci-dra7xx: Make shutdown handler static X-Git-Tag: v5.15~9405^2~7^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4751fac776f37e75670c7bdb7a86f81553f538e0;p=platform%2Fkernel%2Flinux-starfive.git 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 [lorenzo.pieralisi@arm.com: updated commit log] Signed-off-by: Lorenzo Pieralisi Reviewed-by: Keerthy --- diff --git a/drivers/pci/dwc/pci-dra7xx.c b/drivers/pci/dwc/pci-dra7xx.c index e77a4cee..2188ae7 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);