Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1449020 > unrolled thread
| Started by | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| First post | 2016-07-24 02:10 +0200 |
| Last post | 2016-07-25 15:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH -next] MIPS: ath79: Add missing include file Guenter Roeck <linux@roeck-us.net> - 2016-07-24 02:10 +0200
Re: [PATCH -next] MIPS: ath79: Add missing include file Rob Herring <robh@kernel.org> - 2016-07-25 15:30 +0200
| From | Guenter Roeck <linux@roeck-us.net> |
|---|---|
| Date | 2016-07-24 02:10 +0200 |
| Subject | [PATCH -next] MIPS: ath79: Add missing include file |
| Message-ID | <rYf9v-Qk-1@gated-at.bofh.it> |
Commit ddd0ce87bfde ("mips: Remove unnecessary of_platform_populate with
default match table") dropped the include of linux/clk-provider.h from
arch/mips/ath79/setup.c. This results in the following build error.
arch/mips/ath79/setup.c: In function 'ath79_of_plat_time_init':
arch/mips/ath79/setup.c:232:2: error:
implicit declaration of function 'of_clk_init'
Fixes: ddd0ce87bfde ("mips: Remove unnecessary of_platform_populate with default match table")
Cc: Rob Herring <robh@kernel.org>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
arch/mips/ath79/setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c
index 8887eb1ffc73..3a0019deb7f7 100644
--- a/arch/mips/ath79/setup.c
+++ b/arch/mips/ath79/setup.c
@@ -17,6 +17,7 @@
#include <linux/bootmem.h>
#include <linux/err.h>
#include <linux/clk.h>
+#include <linux/clk-provider.h>
#include <linux/of_fdt.h>
#include <asm/bootinfo.h>
--
2.5.0
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2016-07-25 15:30 +0200 |
| Message-ID | <rYO7f-54B-5@gated-at.bofh.it> |
| In reply to | #1449020 |
On Sat, Jul 23, 2016 at 7:00 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> Commit ddd0ce87bfde ("mips: Remove unnecessary of_platform_populate with
> default match table") dropped the include of linux/clk-provider.h from
> arch/mips/ath79/setup.c. This results in the following build error.
>
> arch/mips/ath79/setup.c: In function 'ath79_of_plat_time_init':
> arch/mips/ath79/setup.c:232:2: error:
> implicit declaration of function 'of_clk_init'
>
> Fixes: ddd0ce87bfde ("mips: Remove unnecessary of_platform_populate with default match table")
> Cc: Rob Herring <robh@kernel.org>
> Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> arch/mips/ath79/setup.c | 1 +
> 1 file changed, 1 insertion(+)
Since the error is in my tree, I've applied this. Thanks.
Rob
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web