|
@@ -182,7 +182,7 @@ void s3c_pm_do_save(struct sleep_save *ptr, int count)
|
|
|
* restore the UARTs state yet
|
|
|
*/
|
|
|
|
|
|
-void s3c_pm_do_restore(struct sleep_save *ptr, int count)
|
|
|
+void s3c_pm_do_restore(const struct sleep_save *ptr, int count)
|
|
|
{
|
|
|
for (; count > 0; count--, ptr++) {
|
|
|
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)
|
|
|
* peripherals, as things may be changing!
|
|
|
*/
|
|
|
|
|
|
-void s3c_pm_do_restore_core(struct sleep_save *ptr, int count)
|
|
|
+void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count)
|
|
|
{
|
|
|
for (; count > 0; count--, ptr++)
|
|
|
__raw_writel(ptr->val, ptr->reg);
|