scripts/dts: Fix binding_compats/bindings_compat naming mismatch
'binding_compats' makes the most sense, so use that everywhere. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
5999f10ba2
commit
59a0c4331d
|
@ -16,7 +16,7 @@ defs = {}
|
|||
structs = {}
|
||||
bindings = {}
|
||||
bus_bindings = {}
|
||||
bindings_compat = []
|
||||
binding_compats = []
|
||||
old_alias_names = False
|
||||
|
||||
regs_config = {
|
||||
|
@ -305,7 +305,7 @@ def get_binding(node_path):
|
|||
return binding
|
||||
|
||||
def get_binding_compats():
|
||||
return bindings_compat
|
||||
return binding_compats
|
||||
|
||||
def build_cell_array(prop_array):
|
||||
index = 0
|
||||
|
|
|
@ -379,7 +379,7 @@ def load_bindings(root, binding_dirs):
|
|||
|
||||
extract.globals.bindings = compat_to_binding
|
||||
extract.globals.bus_bindings = bus_to_binding
|
||||
extract.globals.bindings_compat = compats
|
||||
extract.globals.binding_compats = compats
|
||||
|
||||
|
||||
def find_binding_files(binding_dirs):
|
||||
|
|
Loading…
Reference in a new issue