提交 e12f739e 编写于 作者: S Sachin Kamat 提交者: Olof Johansson

ARM: spear: Staticize local symbols in spear1340.c

Symbols local to this file are made static.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NSachin Kamat <sachin.kamat@samsung.com>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 17681ff2
...@@ -93,7 +93,7 @@ static int sata_miphy_init(struct device *dev, void __iomem *addr) ...@@ -93,7 +93,7 @@ static int sata_miphy_init(struct device *dev, void __iomem *addr)
return 0; return 0;
} }
void sata_miphy_exit(struct device *dev) static void sata_miphy_exit(struct device *dev)
{ {
writel(0, SPEAR1340_PCIE_SATA_CFG); writel(0, SPEAR1340_PCIE_SATA_CFG);
writel(0, SPEAR1340_PCIE_MIPHY_CFG); writel(0, SPEAR1340_PCIE_MIPHY_CFG);
...@@ -107,7 +107,7 @@ void sata_miphy_exit(struct device *dev) ...@@ -107,7 +107,7 @@ void sata_miphy_exit(struct device *dev)
msleep(20); msleep(20);
} }
int sata_suspend(struct device *dev) static int sata_suspend(struct device *dev)
{ {
if (dev->power.power_state.event == PM_EVENT_FREEZE) if (dev->power.power_state.event == PM_EVENT_FREEZE)
return 0; return 0;
...@@ -117,7 +117,7 @@ int sata_suspend(struct device *dev) ...@@ -117,7 +117,7 @@ int sata_suspend(struct device *dev)
return 0; return 0;
} }
int sata_resume(struct device *dev) static int sata_resume(struct device *dev)
{ {
if (dev->power.power_state.event == PM_EVENT_THAW) if (dev->power.power_state.event == PM_EVENT_THAW)
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册