ARM: dts: imx6qdl-dhcom-pdk2: Include missing headers
Subsystems (3)
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
--- arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi +3 -0
@@ -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
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 containsGPIO_ACTIVE_HIGHdt-bindings/input/input.h-- because this DT containsKEY_Adt-bindings/pwm/pwm.h-- because this DT containsPWM_POLARITY_INVERTED
This makes sense:
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedQuoted 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 containsGPIO_ACTIVE_HIGHdt-bindings/input/input.h-- because this DT containsKEY_Adt-bindings/pwm/pwm.h-- because this DT containsPWM_POLARITY_INVERTED
Quoted 6 lines
Signed-off-by Marek Vasut <[email protected]>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