]> git.baikalelectronics.ru Git - kernel.git/commit
of: match by compatible property first
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 14 Jun 2012 07:12:35 +0000 (09:12 +0200)
committerRob Herring <rob.herring@calxeda.com>
Fri, 15 Jun 2012 01:29:40 +0000 (20:29 -0500)
commitcd2cb90557f06837e4d7b601f196bf3fa21399e9
treeac901b609ccb98aab22b28f51a1d2639ffd60545
parent55539e286e7972d2e6c8b8ce95b43ba8a14e1931
of: match by compatible property first

When matching devices against an OF device ID table, the first string of
the compatible property that is listed in the table should match,
regardless of its position in the table.

Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/of/base.c