dts: Fix get_compat when parent compat is a list
When a DTS node has no 'compatible' property and its parent node has a
list for its compatible property, return only the first element of the
parent's compatible list.
Signed-off-by:
Nathaniel Graff <nathaniel.graff@sifive.com>
Loading
Please sign in to comment