[PATCH] of: match the compatible in the order set by the dts file
Huang Shijie
b32955 at freescale.com
Wed Jul 10 12:58:26 EST 2013
于 2013年07月09日 20:03, Rob Herring 写道:
> the same and that is the assumption. Matching is not just based on
> compatible properties and your patch does not handle the other cases.
Could you show a example of "the other cases"?
After this patch,
[1] the matching will first check the @match->type and @match->name,
if we can match the @match->type or @match->name, return the match
immediately.
[2] If [1] fails, we will check the compatible properties.
thanks
Huang Shijie
More information about the devicetree-discuss
mailing list