ARM: SAMSUNG: Let s3c_pm_do_restore_*() take const sleep_save
authorDaniel Kurtz <djkurtz@chromium.org>
Wed, 11 Dec 2013 22:08:27 +0000 (07:08 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 11 Dec 2013 22:08:27 +0000 (07:08 +0900)
commitc143751a6da99eaefa824745d87dcc71ec54e705
tree06d621b21dec54c555fdf946fcafc7fbd89e57e4
parent53302222debe568bbfb27985eb97ffdfcf3bff24
ARM: SAMSUNG: Let s3c_pm_do_restore_*() take const sleep_save

The restore functions do not modify the passed in struct sleep_save,
so that parameter can be const.

This allows us to pass in const struct.  This allows us to use const
structs sleep_save to define system registers that will always be
restored to a constant value.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/pm.h
arch/arm/plat-samsung/pm.c