summaryrefslogtreecommitdiff
path: root/drivers/clk/samsung/clk.c
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2014-02-14 03:16:00 +0400
committerKukjin Kim <kgene.kim@samsung.com>2014-02-14 03:16:00 +0400
commitc3b6c1d7015a5a19d87725fe22b58aeea9a88f3c (patch)
tree97992401f059f73262cf568dbe9dced8180f07ef /drivers/clk/samsung/clk.c
parentb7b647be157c9503aec9ce3c7d7e86205a6c39dc (diff)
downloadlinux-c3b6c1d7015a5a19d87725fe22b58aeea9a88f3c.tar.xz
clk: samsung: exynos5250: Move suspend/resume handling to SoC driver
Since there are multiple differences in how suspend/resume of particular Exynos SoCs must be handled, SoC driver is better place for suspend/resume handlers and so this patch moves them. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Thomas Abraham <thomas.ab@samsung.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk.c')
-rw-r--r--drivers/clk/samsung/clk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c
index c0a716b94a66..ec761e344fd0 100644
--- a/drivers/clk/samsung/clk.c
+++ b/drivers/clk/samsung/clk.c
@@ -38,8 +38,9 @@ void samsung_clk_restore(void __iomem *base,
writel(rd->value, base + rd->offset);
}
-struct samsung_clk_reg_dump *samsung_clk_alloc_reg_dump(unsigned long *rdump,
- unsigned long nr_rdump)
+struct samsung_clk_reg_dump *samsung_clk_alloc_reg_dump(
+ const unsigned long *rdump,
+ unsigned long nr_rdump)
{
struct samsung_clk_reg_dump *rd;
unsigned int i;