summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/setup.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-07-13 13:21:20 -0700
committerVineet Gupta <vgupta@synopsys.com>2016-07-13 16:48:20 -0700
commit1ce0b5857f661eb7838950db8748ab6514cafa36 (patch)
treee2f0aacc69d03a0502f03a63566128f694442c99 /arch/arc/kernel/setup.c
parent92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff)
downloadop-kernel-dev-1ce0b5857f661eb7838950db8748ab6514cafa36.zip
op-kernel-dev-1ce0b5857f661eb7838950db8748ab6514cafa36.tar.gz
ARC: fix linux-next build breakage
| ~/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>
Diffstat (limited to 'arch/arc/kernel/setup.c')
-rw-r--r--arch/arc/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index 2ee7a4d..5f8c0b4 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -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>
OpenPOWER on IntegriCloud