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 2ee7a4d..5f8c0b4 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>