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

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

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-08-09 08:00:22 -05:00 committed by Kumar Gala
commit b0a6b3c0be

View file

@ -155,7 +155,7 @@ def write_props(dev):
continue
# Skip properties that we handle elsewhere
if prop.name in {"reg", "interrupts", "compatible"}:
if prop.name in {"reg", "interrupts", "compatible", "interrupt-controller"}:
continue
if prop.description is not None: