Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1449022

[PATCH -next] xtensa: Fix build error due to missing include file

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH -next] xtensa: Fix build error due to missing include file
Date 2016-07-24 02:30 +0200
Message-ID <rYfsR-Wz-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH -next] xtensa: Fix build error due to missing include file Guenter Roeck <linux@roeck-us.net> - 2016-07-24 02:30 +0200
  Re: [PATCH -next] xtensa: Fix build error due to missing include file Max Filippov <jcmvbkbc@gmail.com> - 2016-07-24 02:50 +0200
    Re: [PATCH -next] xtensa: Fix build error due to missing include file Guenter Roeck <linux@roeck-us.net> - 2016-07-24 08:10 +0200
      Re: [PATCH -next] xtensa: Fix build error due to missing include file Max Filippov <jcmvbkbc@gmail.com> - 2016-07-24 16:30 +0200
        Re: [PATCH -next] xtensa: Fix build error due to missing include file Rob Herring <robh@kernel.org> - 2016-07-24 17:20 +0200
          Re: [PATCH -next] xtensa: Fix build error due to missing include file Guenter Roeck <linux@roeck-us.net> - 2016-07-24 18:30 +0200
            Re: [PATCH -next] xtensa: Fix build error due to missing include file Max Filippov <jcmvbkbc@gmail.com> - 2016-07-25 10:10 +0200
              Re: [PATCH -next] xtensa: Fix build error due to missing include file Rob Herring <robh@kernel.org> - 2016-07-25 15:30 +0200
                Re: [PATCH -next] xtensa: Fix build error due to missing include file Max Filippov <jcmvbkbc@gmail.com> - 2016-07-25 22:10 +0200
              Re: [PATCH -next] xtensa: Fix build error due to missing include file Guenter Roeck <linux@roeck-us.net> - 2016-07-25 23:00 +0200

csiph-web