提交 4751fac7 编写于 作者: V Vignesh R 提交者: Lorenzo Pieralisi

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: NVignesh R <vigneshr@ti.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: NKeerthy <j-keerthy@ti.com>
上级 1291a0d5
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册