doc: gen_devicetree_rest: Fix glob to handle both .yaml and .yml
The glob search was only finding .yaml files, however we do have a few .yml bindings that got missed. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
39a7381bb9
commit
c453220006
|
@ -204,6 +204,8 @@ def load_bindings(dts_roots):
|
|||
|
||||
binding_files = []
|
||||
for dts_root in dts_roots:
|
||||
binding_files.extend(glob.glob(f'{dts_root}/dts/bindings/**/*.yml',
|
||||
recursive=True))
|
||||
binding_files.extend(glob.glob(f'{dts_root}/dts/bindings/**/*.yaml',
|
||||
recursive=True))
|
||||
|
||||
|
|
Loading…
Reference in a new issue