linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next] dt-bindings: backlight: lm3630a: fix missing include
@ 2019-10-29 18:53 Andreas Kemnade
  2019-10-30  7:50 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Kemnade @ 2019-10-29 18:53 UTC (permalink / raw)
  To: Lee Jones, Daniel Thompson, Jingoo Han, Jacek Anaszewski,
	Pavel Machek, Dan Murphy, Mark Rutland,
	Bartlomiej Zolnierkiewicz, dri-devel, Linux LED Subsystem,
	devicetree, linux-kernel, Linux Fbdev development list,
	Rob Herring
  Cc: Andreas Kemnade

example failed to compile due to undefined GPIO_ACTIVE_HIGH
fix that by adding the needed #include to the exammple

Fixes: ae92365cdd75 ("dt-bindings: backlight: lm3630a: Add enable-gpios to describe HWEN pin")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 .../devicetree/bindings/leds/backlight/lm3630a-backlight.yaml    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
index c8470628fe02..08fe5cf8614a 100644
--- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
+++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml
@@ -93,6 +93,7 @@ additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/gpio/gpio.h>
     i2c {
         #address-cells = <1>;
         #size-cells = <0>;
-- 
2.20.1


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

end of thread, other threads:[~2019-10-30  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 18:53 [PATCH next] dt-bindings: backlight: lm3630a: fix missing include Andreas Kemnade
2019-10-30  7:50 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).