Subject: [PATCH] of: match the compatible in the order set by the dts file

From: [email-masked] (Huang Shijie)
Date: Wed, 10 Jul 2013 10:58:26 +0800

? 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