Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1192647 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2015-07-27 06:20 +0200 |
| Last post | 2015-08-03 12:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
linux-next: build failure after merge of the clk tree Stephen Rothwell <sfr@canb.auug.org.au> - 2015-07-27 06:20 +0200
Re: linux-next: build failure after merge of the clk tree Tony Lindgren <tony@atomide.com> - 2015-08-03 12:10 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2015-07-27 06:20 +0200 |
| Subject | linux-next: build failure after merge of the clk tree |
| Message-ID | <pQI3o-7mU-7@gated-at.bofh.it> |
Hi all,
After merging the clk tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
drivers/clk/ti/clk-814x.c:11:25: error: array type has incomplete element type
static struct ti_dt_clk dm814_clks[] = {
^
drivers/clk/ti/clk-814x.c:12:2: error: implicit declaration of function 'DT_CLK' [-Werror=implicit-function-declaration]
DT_CLK(NULL, "devosc_ck", "devosc_ck"),
^
drivers/clk/ti/clk-814x.c:21:2: error: field name not in record or union initializer
{ .node_name = NULL },
^
drivers/clk/ti/clk-814x.c:21:2: error: (near initialization for 'dm814_clks')
drivers/clk/ti/clk-814x.c: In function 'dm814x_dt_clk_init':
drivers/clk/ti/clk-814x.c:26:2: error: implicit declaration of function 'ti_dt_clocks_register' [-Werror=implicit-function-declaration]
ti_dt_clocks_register(dm814_clks);
^
drivers/clk/ti/clk-814x.c:28:2: error: implicit declaration of function 'omap2_clk_enable_init_clocks' [-Werror=implicit-function-declaration]
omap2_clk_enable_init_clocks(NULL, 0);
^
drivers/clk/ti/clk-814x.c: At top level:
drivers/clk/ti/clk-814x.c:11:25: warning: 'dm814_clks' defined but not used [-Wunused-variable]
static struct ti_dt_clk dm814_clks[] = {
^
Caused by commit
9cf705de06a2 ("ARM: OMAP2+: Add support for initializing dm814x clocks")
from the omap tree interacting with commit
a3314e9cf69c ("clk: ti: move some public definitions to private header")
from the clk tree.
I have applied the following merge fix patch:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 27 Jul 2015 14:07:23 +1000
Subject: [PATCH] clk: ti: fix for definition movement
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/clk/ti/clk-814x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/ti/clk-814x.c b/drivers/clk/ti/clk-814x.c
index d490d427cc20..e172920798ea 100644
--- a/drivers/clk/ti/clk-814x.c
+++ b/drivers/clk/ti/clk-814x.c
@@ -8,6 +8,8 @@
#include <linux/clk-provider.h>
#include <linux/clk/ti.h>
+#include "clock.h"
+
static struct ti_dt_clk dm814_clks[] = {
DT_CLK(NULL, "devosc_ck", "devosc_ck"),
DT_CLK(NULL, "mpu_ck", "mpu_ck"),
--
2.4.6
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
--
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 | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2015-08-03 12:10 +0200 |
| Message-ID | <pTkQW-8kh-15@gated-at.bofh.it> |
| In reply to | #1192647 |
* Stephen Rothwell <sfr@canb.auug.org.au> [150726 21:14]:
> Hi all,
>
> After merging the clk tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/clk/ti/clk-814x.c:11:25: error: array type has incomplete element type
> static struct ti_dt_clk dm814_clks[] = {
> ^
> drivers/clk/ti/clk-814x.c:12:2: error: implicit declaration of function 'DT_CLK' [-Werror=implicit-function-declaration]
> DT_CLK(NULL, "devosc_ck", "devosc_ck"),
> ^
> drivers/clk/ti/clk-814x.c:21:2: error: field name not in record or union initializer
> { .node_name = NULL },
> ^
> drivers/clk/ti/clk-814x.c:21:2: error: (near initialization for 'dm814_clks')
> drivers/clk/ti/clk-814x.c: In function 'dm814x_dt_clk_init':
> drivers/clk/ti/clk-814x.c:26:2: error: implicit declaration of function 'ti_dt_clocks_register' [-Werror=implicit-function-declaration]
> ti_dt_clocks_register(dm814_clks);
> ^
> drivers/clk/ti/clk-814x.c:28:2: error: implicit declaration of function 'omap2_clk_enable_init_clocks' [-Werror=implicit-function-declaration]
> omap2_clk_enable_init_clocks(NULL, 0);
> ^
> drivers/clk/ti/clk-814x.c: At top level:
> drivers/clk/ti/clk-814x.c:11:25: warning: 'dm814_clks' defined but not used [-Wunused-variable]
> static struct ti_dt_clk dm814_clks[] = {
> ^
>
> Caused by commit
>
> 9cf705de06a2 ("ARM: OMAP2+: Add support for initializing dm814x clocks")
>
> from the omap tree interacting with commit
>
> a3314e9cf69c ("clk: ti: move some public definitions to private header")
>
> from the clk tree.
>
> I have applied the following merge fix patch:
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 27 Jul 2015 14:07:23 +1000
> Subject: [PATCH] clk: ti: fix for definition movement
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> drivers/clk/ti/clk-814x.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/ti/clk-814x.c b/drivers/clk/ti/clk-814x.c
> index d490d427cc20..e172920798ea 100644
> --- a/drivers/clk/ti/clk-814x.c
> +++ b/drivers/clk/ti/clk-814x.c
> @@ -8,6 +8,8 @@
> #include <linux/clk-provider.h>
> #include <linux/clk/ti.h>
>
> +#include "clock.h"
> +
> static struct ti_dt_clk dm814_clks[] = {
> DT_CLK(NULL, "devosc_ck", "devosc_ck"),
> DT_CLK(NULL, "mpu_ck", "mpu_ck"),
Sorry for the delay in replying, I was offline for a few days. Thanks
for fixing it up. I assume no need to apply this fix into arm-soc
for-next but please let me know if you prefer that.
Regards,
Tony
--
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