When a phandle-array (compound) has multiple members generate a define that says how many there are; generate an initializer for each individual member; and generate an initializer for the sequence of members. This allows drivers that expect multiple values in a compound to process them without horrendous conditional compilation code attempting to detect the number of elements in the compound. It also eliminates the need to repeat the long prefix when initializing a structure with the fields of a single compound. Signed-off-by: Peter A. Bigot <pab@pabigot.com> |
||
|---|---|---|
| .. | ||
| extract | ||
| test-bindings | ||
| test-bindings-2 | ||
| devicetree.py | ||
| dtlib.py | ||
| edtlib.py | ||
| extract_dts_includes.py | ||
| gen_defines.py | ||
| test-multidir.dts | ||
| test.dts | ||
| testdtlib.py | ||
| testedtlib.py | ||