[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1474691500-19793-1-git-send-email-baoyou.xie@linaro.org>
Date: Sat, 24 Sep 2016 12:31:40 +0800
From: Baoyou Xie <baoyou.xie@...aro.org>
To: mturquette@...libre.com, sboyd@...eaurora.org,
linus.walleij@...aro.org, arnd@...db.de
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
baoyou.xie@...aro.org, xie.baoyou@....com.cn
Subject: [PATCH] clk: versatile: add missing header dependencies
We get 1 warning when building kernel with W=1:
drivers/clk/versatile/clk-realview.c:54:13: warning: no previous prototype for 'realview_clk_init' [-Wmissing-prototypes]
In fact, this function is declared in
include/linux/platform_data/clk-realview.h,
so this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
---
drivers/clk/versatile/clk-realview.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/versatile/clk-realview.c b/drivers/clk/versatile/clk-realview.c
index c56efc7..f662fd1 100644
--- a/drivers/clk/versatile/clk-realview.c
+++ b/drivers/clk/versatile/clk-realview.c
@@ -10,6 +10,7 @@
#include <linux/err.h>
#include <linux/io.h>
#include <linux/clk-provider.h>
+#include <linux/platform_data/clk-realview.h>
#include "clk-icst.h"
--
2.7.4
Powered by blists - more mailing lists