aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear/spear1340.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-spear/spear1340.c')
-rw-r--r--arch/arm/mach-spear/spear1340.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach-spear/spear1340.c
index 7b6bff7154e1..c601799b4aea 100644
--- a/arch/arm/mach-spear/spear1340.c
+++ b/arch/arm/mach-spear/spear1340.c
@@ -93,7 +93,7 @@ static int sata_miphy_init(struct device *dev, void __iomem *addr)
93 return 0; 93 return 0;
94} 94}
95 95
96void sata_miphy_exit(struct device *dev) 96static void sata_miphy_exit(struct device *dev)
97{ 97{
98 writel(0, SPEAR1340_PCIE_SATA_CFG); 98 writel(0, SPEAR1340_PCIE_SATA_CFG);
99 writel(0, SPEAR1340_PCIE_MIPHY_CFG); 99 writel(0, SPEAR1340_PCIE_MIPHY_CFG);
@@ -107,7 +107,7 @@ void sata_miphy_exit(struct device *dev)
107 msleep(20); 107 msleep(20);
108} 108}
109 109
110int sata_suspend(struct device *dev) 110static int sata_suspend(struct device *dev)
111{ 111{
112 if (dev->power.power_state.event == PM_EVENT_FREEZE) 112 if (dev->power.power_state.event == PM_EVENT_FREEZE)
113 return 0; 113 return 0;
@@ -117,7 +117,7 @@ int sata_suspend(struct device *dev)
117 return 0; 117 return 0;
118} 118}
119 119
120int sata_resume(struct device *dev) 120static int sata_resume(struct device *dev)
121{ 121{
122 if (dev->power.power_state.event == PM_EVENT_THAW) 122 if (dev->power.power_state.event == PM_EVENT_THAW)
123 return 0; 123 return 0;