Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1216570 > unrolled thread
| Started by | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| First post | 2015-09-01 05:30 +0200 |
| Last post | 2015-09-01 20:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] clk: h8s2678: Fix compile error Guenter Roeck <linux@roeck-us.net> - 2015-09-01 05:30 +0200
Re: [PATCH] clk: h8s2678: Fix compile error Stephen Boyd <sboyd@codeaurora.org> - 2015-09-01 20:20 +0200
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Date | 2015-09-01 05:30 +0200 |
| Subject | [PATCH] clk: h8s2678: Fix compile error |
| Message-ID | <q3KqJ-2NR-5@gated-at.bofh.it> |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Date | 2015-09-01 20:20 +0200 |
| Message-ID | <q3Yk1-5Tw-5@gated-at.bofh.it> |
| In reply to | #1216570 |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web