summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-03-31 18:13:56 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-04-03 09:11:41 +0200
commit0c7632c0185739214f584987e348e377341b0b99 (patch)
treecd0353e250a3279e92998996e5a5294f4c6d68cf /include
parent27f8b69be29477f4d8f2db7d76bac27254e361ca (diff)
downloadbarebox-0c7632c0185739214f584987e348e377341b0b99.tar.gz
barebox-0c7632c0185739214f584987e348e377341b0b99.tar.xz
clk: Forward declare struct of_device_id in linux/clk.h
Forward declare struct of_device_id in linux/clk.h in order to avoid warnings like the following: warning: 'struct of_device_id' declared inside parameter list will not be visible outside of this definition or declaration int of_clk_init(struct device_node *root, const struct of_device_id *matches); ^~~~~~~~~~~~ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 081a859729..c6465b1c90 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -323,6 +323,7 @@ struct clk *clk_register_composite(const char *name,
struct device_node;
struct of_phandle_args;
+struct of_device_id;
#if defined(CONFIG_COMMON_CLK_OF_PROVIDER)