public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] xtensa: Fix build error due to missing include file
@ 2016-07-24  0:24 Guenter Roeck
  2016-07-24  0:45 ` Max Filippov
  0 siblings, 1 reply; 11+ messages in thread
From: Guenter Roeck @ 2016-07-24  0:24 UTC (permalink / raw)
  To: Chris Zankel
  Cc: Max Filippov, linux-xtensa, linux-kernel, Guenter Roeck,
	Kefeng Wang, Rob Herring

Commit 69d99e6c0d621f ("xtensa: Remove unnecessary of_platform_populate
with default match table") dropped various include files from
arch/xtensa/kernel/setup.c. This results in the following build error.

arch/xtensa/kernel/setup.c: In function ‘xtensa_dt_io_area’:
arch/xtensa/kernel/setup.c:213:2: error:
	implicit declaration of function ‘of_read_ulong’

Fixes: 69d99e6c0d621f ("xtensa: Remove unnecessary of_platform_populate with default match table")
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
I would suggest to merge this patch into the commit causing the problem
if possible.

 arch/xtensa/kernel/setup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c
index 18af563110a1..6f68c6045a70 100644
--- a/arch/xtensa/kernel/setup.c
+++ b/arch/xtensa/kernel/setup.c
@@ -23,6 +23,7 @@
 #include <linux/kernel.h>
 #include <linux/percpu.h>
 #include <linux/cpu.h>
+#include <linux/of.h>
 #include <linux/of_fdt.h>
 
 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
-- 
2.5.0

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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-24  0:24 [PATCH -next] xtensa: Fix build error due to missing include file Guenter Roeck
2016-07-24  0:45 ` Max Filippov
2016-07-24  6:00   ` Guenter Roeck
2016-07-24 14:20     ` Max Filippov
2016-07-24 15:18       ` Rob Herring
2016-07-24 16:27         ` Guenter Roeck
2016-07-25  8:07           ` Max Filippov
2016-07-25 13:22             ` Rob Herring
2016-07-25 20:02               ` Max Filippov
2016-07-25 20:51             ` Guenter Roeck
2016-07-25 22:24               ` Max Filippov

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