summaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-exynos5-subcmu.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2019-08-08 16:49:28 +0200
committerStephen Boyd <sboyd@kernel.org>2019-08-08 22:53:42 +0200
commitbf32e7dbfce87d518c0ca77af890eae9ab8d6ab9 (patch)
tree327c618e4eff9b620367122223e7aadd4ab269b0 /drivers/clk/samsung/clk-exynos5-subcmu.h
parentclk: renesas: cpg-mssr: Fix reset control race condition (diff)
downloadlinux-bf32e7dbfce87d518c0ca77af890eae9ab8d6ab9.tar.xz
linux-bf32e7dbfce87d518c0ca77af890eae9ab8d6ab9.zip
clk: samsung: Change signature of exynos5_subcmus_init() function
In order to make it easier in subsequent patch to create different subcmu lists for exynos5420 and exynos5800 SoCs the code is rewritten so we pass an array of pointers to the subcmus initialization function. Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver") Tested-by: Jaafar Ali <jaafarkhalaf@gmail.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Link: https://lkml.kernel.org/r/20190808144929.18685-1-s.nawrocki@samsung.com Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/samsung/clk-exynos5-subcmu.h')
-rw-r--r--drivers/clk/samsung/clk-exynos5-subcmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk-exynos5-subcmu.h b/drivers/clk/samsung/clk-exynos5-subcmu.h
index 755ee8aaa3de..9ae5356f25aa 100644
--- a/drivers/clk/samsung/clk-exynos5-subcmu.h
+++ b/drivers/clk/samsung/clk-exynos5-subcmu.h
@@ -21,6 +21,6 @@ struct exynos5_subcmu_info {
};
void exynos5_subcmus_init(struct samsung_clk_provider *ctx, int nr_cmus,
- const struct exynos5_subcmu_info *cmu);
+ const struct exynos5_subcmu_info **cmu);
#endif