* [PATCH] clk: h8s2678: Fix compile error
@ 2015-09-01 3:27 Guenter Roeck
2015-09-01 18:12 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-09-01 3:27 UTC (permalink / raw)
To: Yoshinori Sato
Cc: Michael Turquette, uclinux-h8-devel, linux-clk, linux-kernel,
Guenter Roeck, Stephen Boyd
Recent cleanup removed some include files without checking if the cleaned
up code still compiles. This results in the following compile error.
drivers/clk/h8300/clk-h8s2678.c: In function ‘h8s2678_pll_clk_setup’:
drivers/clk/h8300/clk-h8s2678.c:99:14: error:
implicit declaration of function ‘kzalloc’
drivers/clk/h8300/clk-h8s2678.c:138:2: error:
implicit declaration of function ‘kfree’
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
drivers/clk/h8300/clk-h8s2678.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/h8300/clk-h8s2678.c b/drivers/clk/h8300/clk-h8s2678.c
index 2a38eb4a2552..6cf38dc1c929 100644
--- a/drivers/clk/h8300/clk-h8s2678.c
+++ b/drivers/clk/h8300/clk-h8s2678.c
@@ -8,6 +8,7 @@
#include <linux/err.h>
#include <linux/device.h>
#include <linux/of_address.h>
+#include <linux/slab.h>
static DEFINE_SPINLOCK(clklock);
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: h8s2678: Fix compile error
2015-09-01 3:27 [PATCH] clk: h8s2678: Fix compile error Guenter Roeck
@ 2015-09-01 18:12 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2015-09-01 18:12 UTC (permalink / raw)
To: Guenter Roeck
Cc: Yoshinori Sato, Michael Turquette, uclinux-h8-devel, linux-clk,
linux-kernel
On 08/31, Guenter Roeck wrote:
> Recent cleanup removed some include files without checking if the cleaned
> up code still compiles. This results in the following compile error.
>
> drivers/clk/h8300/clk-h8s2678.c: In function ‘h8s2678_pll_clk_setup’:
> drivers/clk/h8300/clk-h8s2678.c:99:14: error:
> implicit declaration of function ‘kzalloc’
> drivers/clk/h8300/clk-h8s2678.c:138:2: error:
> implicit declaration of function ‘kfree’
>
> Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
Urgh. I thought I compiled that one. Applied to clk-fixes.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-01 18:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-01 3:27 [PATCH] clk: h8s2678: Fix compile error Guenter Roeck
2015-09-01 18:12 ` Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox