diff options
author | Vineet Gupta | 2016-07-13 13:21:20 -0700 |
---|---|---|
committer | Vineet Gupta | 2016-07-13 16:48:20 -0700 |
commit | 1ce0b5857f661eb7838950db8748ab6514cafa36 (patch) | |
tree | e2f0aacc69d03a0502f03a63566128f694442c99 /arch/arc/kernel | |
parent | 92d21ac74a9e3c09b0b01c764e530657e4c85c49 (diff) |
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')
-rw-r--r-- | arch/arc/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c index 2ee7a4d758a8..5f8c0b47045a 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> |