]> 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)
commita76b3e30464c84f965d9cef2c05e502e53cb2096
treeac901b609ccb98aab22b28f51a1d2639ffd60545
parent71eb10fda89bd837783b4ec27a60708463e87f14
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