[PATCH v2 09/28] clk: Port of_clk_set_defaults()
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 14 23:53:48 PST 2016
On Wed, Nov 09, 2016 at 08:13:57AM -0800, Andrey Smirnov wrote:
> Port of_clk_set_defautls() from Linux kernel in order to support DT
> configurations that require it (e. g. Vybrid).
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
> ---
> drivers/clk/Makefile | 2 +-
> drivers/clk/clk-conf.c | 144 +++++++++++++++++++++++++++++++++++++++++++
> drivers/clk/clk.c | 2 +
> include/linux/clk/clk-conf.h | 14 +++++
> 4 files changed, 161 insertions(+), 1 deletion(-)
> create mode 100644 drivers/clk/clk-conf.c
> create mode 100644 include/linux/clk/clk-conf.h
This patch breaks compilation on platforms using common clk but no
device tree, for example cupid_defconfig:
drivers/clk/clk-conf.c: In function '__set_clk_parents':
drivers/clk/clk-conf.c:41:3: error: implicit declaration of function 'of_clk_get_from_provider' [-Werror=implicit-function-declaration]
As this is not trivial to fix I dropped the rest of this series for now.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list