@@ -16,6 +16,24 @@
#ifdef CONFIG_COMMON_CLK
+/* Temporarily map the to-be-added API to the old API, just so stuff compiles */
+#define clk_core clk
+
+#define clk_core_to_clk
+
+#define __clk_get_internal clk_get
+#define __clk_get_sys_internal clk_get_sys
+#define __devm_clk_get_internal devm_clk_get
+#define __of_clk_get_internal of_clk_get
+#define __of_clk_get_by_name_internal of_clk_get_by_name
+
+#define __clk_set_rate_internal clk_set_rate
+#define __clk_get_rate_internal clk_get_rate
+#define __clk_set_parent_internal clk_set_parent
+#define __clk_get_parent_internal clk_get_parent
+#define __clk_prepare_internal clk_prepare
+#define __clk_unprepare_internal clk_unprepare
+
/*
* flags used across common struct clk. these flags should only affect the
* top-level framework. custom flags for dealing with hardware specifics
To preserve git-bisectability, add aliases from the future provider API to the existing public API. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> --- Don't like this much, would be great to hear of alternatives. include/linux/clk-provider.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)