]> git.baikalelectronics.ru Git - uboot.git/commit
clk: Drop dm.h header file in clk-provider.h
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 16:15:56 +0000 (10:15 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
commit67f1b3f56861aa46bd8e1529c37aef0b219bb649
tree986fd6e48d250408d7de5a2e9edc7aeff5b5f4a0
parentdebb824b20036926672f8d30be15f205b2019025
clk: Drop dm.h header file in clk-provider.h

This header file should not be included in other header files. Remove it
and use a forward declaration and un-inlining of dev_get_clk_ptr()
instead.

Fix up the kendryte header files to avoid build errors.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/clk-uclass.c
drivers/clk/kendryte/bypass.c
drivers/clk/kendryte/pll.c
include/kendryte/bypass.h
include/linux/clk-provider.h