[PATCH 09/29] ARM: orion5x: switch to preprocessor includes in DT

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Apr 14 02:43:02 PDT 2014


On 04/13/2014 04:39 PM, Thomas Petazzoni wrote:
> This commit switches the Orion5x Device Tree files to use C
> preprocessor based includes, as it will allow us to use definitions
> from header files in future commits.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>

> ---
>   arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts | 3 ++-
>   arch/arm/boot/dts/orion5x.dtsi                            | 2 +-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> index 5ed6c13..0245bb3 100644
> --- a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> +++ b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> @@ -7,7 +7,8 @@
>    */
>
>   /dts-v1/;
> -/include/ "orion5x.dtsi"
> +
> +#include "orion5x.dtsi"
>
>   / {
>   	model = "LaCie Ethernet Disk mini V2";
> diff --git a/arch/arm/boot/dts/orion5x.dtsi b/arch/arm/boot/dts/orion5x.dtsi
> index da57fb9..2364e3d 100644
> --- a/arch/arm/boot/dts/orion5x.dtsi
> +++ b/arch/arm/boot/dts/orion5x.dtsi
> @@ -6,7 +6,7 @@
>    * warranty of any kind, whether express or implied.
>    */
>
> -/include/ "skeleton.dtsi"
> +#include "skeleton.dtsi"
>
>   / {
>   	model = "Marvell Orion5x SoC";
>




More information about the linux-arm-kernel mailing list