mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] MIPS: ath79: Add missing include file
@ 2016-07-24  0:00 Guenter Roeck
  2016-07-25 13:20 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2016-07-24  0:00 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: linux-mips, linux-kernel, Guenter Roeck, Rob Herring, Kefeng Wang

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] MIPS: ath79: Add missing include file
  2016-07-24  0:00 [PATCH -next] MIPS: ath79: Add missing include file Guenter Roeck
@ 2016-07-25 13:20 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2016-07-25 13:20 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Ralf Baechle, Linux-MIPS, linux-kernel, Kefeng Wang

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-25 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-24  0:00 [PATCH -next] MIPS: ath79: Add missing include file Guenter Roeck
2016-07-25 13:20 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®