diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-06-20 00:00:46 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-20 19:53:09 +0200 |
commit | c726639bbe23ddbfaa6ee1dd7d27175ee4488661 (patch) | |
tree | be7411019bf3d1714cb2ef25a7c1b8b0478ec496 /drivers/clk/mediatek/clk-mtk.h | |
parent | clk: keystone: Remove clk.h include (diff) | |
download | linux-c726639bbe23ddbfaa6ee1dd7d27175ee4488661.tar.xz linux-c726639bbe23ddbfaa6ee1dd7d27175ee4488661.zip |
clk: mediatek: Properly include clk.h
We don't need to include clk.h in header files, just forward
declare struct clk here. This leads us to a few places where the
include of clk.h was missing in C files. Add them.
Cc: James Liao <jamesjj.liao@mediatek.com>
Cc: Henry Chen <henryc.chen@mediatek.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mtk.h')
-rw-r--r-- | drivers/clk/mediatek/clk-mtk.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h index 9dda9d8ad10b..624716c4776b 100644 --- a/drivers/clk/mediatek/clk-mtk.h +++ b/drivers/clk/mediatek/clk-mtk.h @@ -17,9 +17,10 @@ #include <linux/regmap.h> #include <linux/bitops.h> -#include <linux/clk.h> #include <linux/clk-provider.h> +struct clk; + #define MAX_MUX_GATE_BIT 31 #define INVALID_MUX_GATE_BIT (MAX_MUX_GATE_BIT + 1) |