scripts: extract_dts_includes: Sanitize interrupt names
Its possible we have dashes in interrupt names that we need to convert to underscores when we generate defines. Make sure we do that otherwise things aren't going to build. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
f117505773
commit
bc6aae8d73
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ def extract_interrupts(node_address, yaml, y_key, names, defs, def_label):
|
|||
name = []
|
||||
else:
|
||||
try:
|
||||
name = [names.pop(0).upper()]
|
||||
name = [convert_string_to_label(names.pop(0)).upper()]
|
||||
except:
|
||||
name = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue