]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARC: fix linux-next build breakage
authorVineet Gupta <vgupta@synopsys.com>
Wed, 13 Jul 2016 20:21:20 +0000 (13:21 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 13 Jul 2016 23:48:20 +0000 (16:48 -0700)
| ~/linux/arch/arc/kernel/setup.c: In function show_cpuinfo:
| ~/linux/arch/arc/kernel/setup.c:463:9: error: implicit declaration of function of_find_node_by_name [-Werror=implicit-function-declaration]
|  struct device_node *core_clk = of_find_node_by_name(NULL, "core_clk");

Reported-by: Anton Kolesov <akolesov@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/setup.c

index 2ee7a4d758a882a2b4e36cacd74adb280648fced..5f8c0b47045aa55524f555d70b3cc8f424d23ef5 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/module.h>
 #include <linux/cpu.h>
 #include <linux/of_fdt.h>
+#include <linux/of.h>
 #include <linux/of_platform.h>
 #include <linux/cache.h>
 #include <asm/sections.h>