Skip to content
Permalink
Browse files

scripts/dts/gen_defines.py: Ignore 'gpio-controller' prop

We don't want any defines generated for the boolean
'gpio-controller'.  So skip it in write_props if we see it.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information...
galak committed Aug 9, 2019
1 parent d2c758b commit 480dcc16343744bbd156d0abdd9ddb8e52072e92
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/dts/gen_defines.py
@@ -155,7 +155,8 @@ def write_props(dev):
continue

# Skip properties that we handle elsewhere
if prop.name in {"reg", "interrupts", "compatible", "interrupt-controller"}:
if prop.name in {"reg", "interrupts", "compatible", "interrupt-controller",
"gpio-controller"}:
continue

if prop.description is not None:

0 comments on commit 480dcc1

Please sign in to comment.
You can’t perform that action at this time.