summaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip/clk.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-06-20 00:00:46 +0200
committerStephen Boyd <sboyd@codeaurora.org>2015-07-20 20:11:10 +0200
commitf684ff8b67ec19f003cc894477afb20442064692 (patch)
treed3994a2073f40da9014caaeae1f5c351052938da /drivers/clk/rockchip/clk.h
parentclk: nxp: Remove clk.h include (diff)
downloadlinux-f684ff8b67ec19f003cc894477afb20442064692.tar.xz
linux-f684ff8b67ec19f003cc894477afb20442064692.zip
clk: rockchip: Properly include clk.h
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h if it's actually used. Cc: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/rockchip/clk.h')
-rw-r--r--drivers/clk/rockchip/clk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rockchip/clk.h
index 6b092673048a..1b16781b67c5 100644
--- a/drivers/clk/rockchip/clk.h
+++ b/drivers/clk/rockchip/clk.h
@@ -24,8 +24,8 @@
#define CLK_ROCKCHIP_CLK_H
#include <linux/io.h>
-#include <linux/clk.h>
-#include <linux/clk-provider.h>
+
+struct clk;
#define HIWORD_UPDATE(val, mask, shift) \
((val) << (shift) | (mask) << ((shift) + 16))