diff mbox

ARM: dts: versatile: use #include "..." to include local DT

Message ID 1495602610-18667-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit cf5cde2199058f1aed33f8b5f637c02a95936031
Headers show

Commit Message

Masahiro Yamada May 24, 2017, 5:10 a.m. UTC
Most of DT files in ARM use #include "..." to make pre-processor
include DT in the same directory, but this is one of the exceptional
files that use #include <...> for that.

Fix it to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts path from
dtc_cpp_flags.

ARM: dts: versatile: use #include "..." to include DT in the same directory

Most of DT files in ARM use #include "..." to make pre-processor
include DT in the same directory, but we have 3 exceptional files
that use #include <...> for that.

They must be fixed to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts
path from dtc_cpp_flags.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

Arnd, Olof,
I could not find a sub-arch maintainer for versatile.
If nobody picks up this, could you take care of this?



 arch/arm/boot/dts/versatile-pb.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Olof Johansson June 1, 2017, 11:52 p.m. UTC | #1
On Wed, May 24, 2017 at 02:10:10PM +0900, Masahiro Yamada wrote:
> Most of DT files in ARM use #include "..." to make pre-processor

> include DT in the same directory, but this is one of the exceptional

> files that use #include <...> for that.

> 

> Fix it to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts path from

> dtc_cpp_flags.

> 

> ARM: dts: versatile: use #include "..." to include DT in the same directory

> 

> Most of DT files in ARM use #include "..." to make pre-processor

> include DT in the same directory, but we have 3 exceptional files

> that use #include <...> for that.

> 

> They must be fixed to remove -I$(srctree)/arch/$(SRCARCH)/boot/dts

> path from dtc_cpp_flags.

> 

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

> ---

> 

> Arnd, Olof,

> I could not find a sub-arch maintainer for versatile.

> If nobody picks up this, could you take care of this?


Applied to fixes. Thanks!


-Olof

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/versatile-pb.dts b/arch/arm/boot/dts/versatile-pb.dts
index 33a8eb28374e..06e2331f666d 100644
--- a/arch/arm/boot/dts/versatile-pb.dts
+++ b/arch/arm/boot/dts/versatile-pb.dts
@@ -1,4 +1,4 @@ 
-#include <versatile-ab.dts>
+#include "versatile-ab.dts"
 
 / {
 	model = "ARM Versatile PB";