aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-samsung/pm.c')
-rw-r--r--arch/arm/plat-samsung/pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/pm.c b/arch/arm/plat-samsung/pm.c
index d0c23010b693..416e5bea54f9 100644
--- a/arch/arm/plat-samsung/pm.c
+++ b/arch/arm/plat-samsung/pm.c
@@ -182,7 +182,7 @@ void s3c_pm_do_save(struct sleep_save *ptr, int count)
182 * restore the UARTs state yet 182 * restore the UARTs state yet
183*/ 183*/
184 184
185void s3c_pm_do_restore(struct sleep_save *ptr, int count) 185void s3c_pm_do_restore(const struct sleep_save *ptr, int count)
186{ 186{
187 for (; count > 0; count--, ptr++) { 187 for (; count > 0; count--, ptr++) {
188 printk(KERN_DEBUG "restore %p (restore %08lx, was %08x)\n", 188 printk(KERN_DEBUG "restore %p (restore %08lx, was %08x)\n",
@@ -203,7 +203,7 @@ void s3c_pm_do_restore(struct sleep_save *ptr, int count)
203 * peripherals, as things may be changing! 203 * peripherals, as things may be changing!
204*/ 204*/
205 205
206void s3c_pm_do_restore_core(struct sleep_save *ptr, int count) 206void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count)
207{ 207{
208 for (; count > 0; count--, ptr++) 208 for (; count > 0; count--, ptr++)
209 __raw_writel(ptr->val, ptr->reg); 209 __raw_writel(ptr->val, ptr->reg);