Skip to content
Commit 0b60f383 authored by Nathaniel Graff's avatar Nathaniel Graff Committed by Anas Nashif
Browse files

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: default avatarNathaniel Graff <nathaniel.graff@sifive.com>
parent c9ca1994
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment