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>
This commit is contained in:
parent
d2c758b49d
commit
480dcc1634
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue