Skip to content

Commit 066edc7

Browse files
Andy Grossgalak
Andy Gross
authored andcommitted
scripts: extract_dts_includes.py: Fix names generation
This patch fixes issues with the IRQ definitions when using the interrupt-names property in the DT entry. Signed-off-by: Andy Gross <[email protected]>
1 parent 30beef9 commit 066edc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/extract_dts_includes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def extract_interrupts(node_address, yaml, y_key, names, defs, def_label):
224224
l_fqn = '_'.join(l_base + l_cell_prefix + l_idx + l_cell_name)
225225
prop_def[l_fqn] = props.pop(0)
226226
if len(name):
227-
prop_alias['_'.join(l_base + name + l_cell_prefix)] = l_fqn
227+
prop_alias['_'.join(l_base + name + l_cell_name)] = l_fqn
228228

229229
index += 1
230230
insert_defs(node_address, defs, prop_def, prop_alias)

0 commit comments

Comments
 (0)