Skip to content

Commit bc6aae8

Browse files
committed
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 <[email protected]>
1 parent f117505 commit bc6aae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dts/extract_dts_includes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def extract_interrupts(node_address, yaml, y_key, names, defs, def_label):
236236
name = []
237237
else:
238238
try:
239-
name = [names.pop(0).upper()]
239+
name = [convert_string_to_label(names.pop(0)).upper()]
240240
except:
241241
name = []
242242

0 commit comments

Comments
 (0)