arm: dts: lpc32xx: change include syntax to be C preprocessor friendly
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 17 Oct 2015 21:35:50 +0000 (00:35 +0300)
committerVladimir Zapolskiy <vz@mleia.com>
Wed, 18 Nov 2015 16:00:53 +0000 (18:00 +0200)
The change replaces /include/ to #include in lpc32xx.dtsi and
derivatives, it is required, if C preprocessor is intended to be used
over dtsi/dts files, otherwise errors like one below are generated:

  Error: ea3250.dts:15.1-9 syntax error
  FATAL ERROR: Unable to parse input tree

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/ea3250.dts
arch/arm/boot/dts/lpc32xx.dtsi
arch/arm/boot/dts/phy3250.dts

index a4ba31b23c88606379bec02dfca9fd6b86fb09ef..121d0328a0d670b019e79ae6623c9ba440f6e8ab 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 /dts-v1/;
-/include/ "lpc32xx.dtsi"
+#include "lpc32xx.dtsi"
 
 / {
        model = "Embedded Artists LPC3250 board based on NXP LPC3250";
index 3abebb75fc57c729ee7f615276862e60a6d51171..f35e9822ddec8287bad57e50921cc77d853572c3 100644 (file)
@@ -11,7 +11,7 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-/include/ "skeleton.dtsi"
+#include "skeleton.dtsi"
 
 / {
        compatible = "nxp,lpc3220";
index 90fdbd77f2740f36c09a3daeaa359625107e8fe8..2a2d2cfd02c8d8ce614f20ed197eef6305bf425c 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 /dts-v1/;
-/include/ "lpc32xx.dtsi"
+#include "lpc32xx.dtsi"
 
 / {
        model = "PHYTEC phyCORE-LPC3250 board based on NXP LPC3250";