Skip to contentSkip to conversation

ARM: dts: imx6qdl-dhcom-pdk2: Include missing headers

PATCH Applied Marek Vasut 3 participants 3 messages Dec 31, 2021 – Jan 28, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-dhcom-pdk2: Include missing headers

Include missing headers, since this DT source uses symbolic names defined in those headers. If an external DT includes this dtsi without including the headers as well, the DT becomes unbuildable.

Three headers are included:
dt-bindings/gpio/gpio.h -- because this DT contains GPIO_ACTIVE_HIGH dt-bindings/input/input.h -- because this DT contains KEY_A dt-bindings/pwm/pwm.h -- because this DT contains PWM_POLARITY_INVERTED

Cc Christoph Niedermaier <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Shawn Guo <[email protected]>
---
 arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi | 3 +++
 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi +3 -0
index dc89b554e694e..fe72650295a5b 100644
@@ -4,7 +4,10 @@
  * Copyright (C) 2018 Marek Vasut <[email protected]>
  */
 
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/pwm/pwm.h>
 
 / {
 	chosen {
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer Reviewed-by on v1 1/1
#1 lore raw

Hi Marek,

Quoted 9 lines · Marek Vasut

Include missing headers, since this DT source uses symbolic names defined in those headers. If an external DT includes this dtsi without including the headers as well, the DT becomes unbuildable.

Three headers are included:
dt-bindings/gpio/gpio.h -- because this DT contains GPIO_ACTIVE_HIGH dt-bindings/input/input.h -- because this DT contains KEY_A dt-bindings/pwm/pwm.h -- because this DT contains PWM_POLARITY_INVERTED

This makes sense:

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Applied
#2 lore raw
In reply to Marek Vasut
Quoted 9 lines · Marek Vasut

Include missing headers, since this DT source uses symbolic names defined in those headers. If an external DT includes this dtsi without including the headers as well, the DT becomes unbuildable.

Three headers are included:
dt-bindings/gpio/gpio.h -- because this DT contains GPIO_ACTIVE_HIGH dt-bindings/input/input.h -- because this DT contains KEY_A dt-bindings/pwm/pwm.h -- because this DT contains PWM_POLARITY_INVERTED

Quoted 6 lines
Cc Christoph Niedermaier <[email protected]>
Cc Fabio Estevam <[email protected]>
Cc NXP Linux Team <[email protected]>
Cc Shawn Guo <[email protected]>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel