summaryrefslogtreecommitdiff
path: root/include/kendryte
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-19 10:15:56 -0600
committerTom Rini <trini@konsulko.com>2020-08-03 22:19:54 -0400
commitfb989e0c6ce019466f24fbd529890d89a21c8472 (patch)
tree986fd6e48d250408d7de5a2e9edc7aeff5b5f4a0 /include/kendryte
parent161786259ca43dc4cad40755b48f868768577270 (diff)
downloadu-boot-fb989e0c6ce019466f24fbd529890d89a21c8472.tar.gz
u-boot-fb989e0c6ce019466f24fbd529890d89a21c8472.tar.bz2
u-boot-fb989e0c6ce019466f24fbd529890d89a21c8472.zip
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>
Diffstat (limited to 'include/kendryte')
-rw-r--r--include/kendryte/bypass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kendryte/bypass.h b/include/kendryte/bypass.h
index a081cbd12f..ab85bbcbfc 100644
--- a/include/kendryte/bypass.h
+++ b/include/kendryte/bypass.h
@@ -5,7 +5,7 @@
#ifndef K210_BYPASS_H
#define K210_BYPASS_H
-#include <clk.h>
+struct clk;
struct k210_bypass {
struct clk clk;