summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mediatek/clk-mt8173.c
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 19:53:09 +0200
commitc726639bbe23ddbfaa6ee1dd7d27175ee4488661 (patch)
treebe7411019bf3d1714cb2ef25a7c1b8b0478ec496 /drivers/clk/mediatek/clk-mt8173.c
parentclk: keystone: Remove clk.h include (diff)
downloadlinux-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-mt8173.c')
-rw-r--r--drivers/clk/mediatek/clk-mt8173.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/clk/mediatek/clk-mt8173.c
index 4b9e04cdf7e8..2e0f17be9ea0 100644
--- a/drivers/clk/mediatek/clk-mt8173.c
+++ b/drivers/clk/mediatek/clk-mt8173.c
@@ -12,6 +12,7 @@
* GNU General Public License for more details.
*/
+#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/slab.h>