dt-bindings: backlight: lm3630a: Fix missing include
authorAndreas Kemnade <andreas@kemnade.info>
Tue, 29 Oct 2019 18:53:50 +0000 (19:53 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 30 Oct 2019 07:50:03 +0000 (07:50 +0000)
Example failed to compile due to undefined GPIO_ACTIVE_HIGH
fix that by adding the needed #include to the exammple.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml

index c8470628fe0285397c0cc1fed8ee029cc1d08680..08fe5cf8614a81e6321e3bc9f664527dcd97fd8f 100644 (file)
@@ -93,6 +93,7 @@ additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/gpio/gpio.h>
     i2c {
         #address-cells = <1>;
         #size-cells = <0>;