All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: Kirkwood: remove leds-netxbig.h include from nas2big DTS
@ 2015-03-11 10:03 Simon Guinot
  2015-03-11 17:52 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Guinot @ 2015-03-11 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

This patch fixes the following build error introduced by the patch
a9e58557e998 ("ARM: Kirkwood: add DT description for nas2big"):

  DTC     arch/arm/boot/dts/kirkwood-nas2big.dtb
/home/simon/workspace/lacie-nas.org/src/linux-lacie.git/arch/arm/boot/dts/kirkwood-nas2big.dts:16:
fatal error: dt-bindings/leds/leds-netxbig.h: No such file or directory
compilation terminated.
scripts/Makefile.lib:292: recipe for target
'arch/arm/boot/dts/kirkwood-nas2big.dtb' failed

Since the leds-netxbig DT binding is not merged yet, the
dt-bindings/leds/leds-netxbig.h header can't be used. Moreover there is
no point in including leds-netxbig.h from the nas2big DTS anyway: since
the LEDs characteristics are shared between all the netxbig boards, the
LED node will be added in the kirkwood-netxbig DTSI file.

This patch fixes the build error by removing the useless leds-netxbig.h
include.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
---
 arch/arm/boot/dts/kirkwood-nas2big.dts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/boot/dts/kirkwood-nas2big.dts b/arch/arm/boot/dts/kirkwood-nas2big.dts
index d459c94fd1d4..7427ec50b829 100644
--- a/arch/arm/boot/dts/kirkwood-nas2big.dts
+++ b/arch/arm/boot/dts/kirkwood-nas2big.dts
@@ -12,7 +12,6 @@
 
 /dts-v1/;
 
-#include <dt-bindings/leds/leds-netxbig.h>
 #include "kirkwood-netxbig.dtsi"
 
 / {
-- 
2.1.1

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

* [PATCH] ARM: Kirkwood: remove leds-netxbig.h include from nas2big DTS
  2015-03-11 10:03 [PATCH] ARM: Kirkwood: remove leds-netxbig.h include from nas2big DTS Simon Guinot
@ 2015-03-11 17:52 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2015-03-11 17:52 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon,



On 11/03/2015 11:03, Simon Guinot wrote:
> This patch fixes the following build error introduced by the patch
> a9e58557e998 ("ARM: Kirkwood: add DT description for nas2big"):
> 
>   DTC     arch/arm/boot/dts/kirkwood-nas2big.dtb
> /home/simon/workspace/lacie-nas.org/src/linux-lacie.git/arch/arm/boot/dts/kirkwood-nas2big.dts:16:
> fatal error: dt-bindings/leds/leds-netxbig.h: No such file or directory
> compilation terminated.
> scripts/Makefile.lib:292: recipe for target
> 'arch/arm/boot/dts/kirkwood-nas2big.dtb' failed
> 
> Since the leds-netxbig DT binding is not merged yet, the
> dt-bindings/leds/leds-netxbig.h header can't be used. Moreover there is
> no point in including leds-netxbig.h from the nas2big DTS anyway: since
> the LEDs characteristics are shared between all the netxbig boards, the
> LED node will be added in the kirkwood-netxbig DTSI file.
> 
> This patch fixes the build error by removing the useless leds-netxbig.h
> include.


I squashed it in the previous commit (a9e58557e998 ("ARM: Kirkwood: add DT
description for nas2big") in mvebu/dt and merged this branch in mvebu/for-next.
So the build would be OK in next-20150312.


Thanks,

Gregory


> 
> Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
> ---
>  arch/arm/boot/dts/kirkwood-nas2big.dts | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/kirkwood-nas2big.dts b/arch/arm/boot/dts/kirkwood-nas2big.dts
> index d459c94fd1d4..7427ec50b829 100644
> --- a/arch/arm/boot/dts/kirkwood-nas2big.dts
> +++ b/arch/arm/boot/dts/kirkwood-nas2big.dts
> @@ -12,7 +12,6 @@
>  
>  /dts-v1/;
>  
> -#include <dt-bindings/leds/leds-netxbig.h>
>  #include "kirkwood-netxbig.dtsi"
>  
>  / {
> 


-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2015-03-11 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11 10:03 [PATCH] ARM: Kirkwood: remove leds-netxbig.h include from nas2big DTS Simon Guinot
2015-03-11 17:52 ` Gregory CLEMENT

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.