summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2013-01-19 18:20:42 (GMT)
committerRob Herring <rob.herring@calxeda.com>2013-01-20 22:26:42 (GMT)
commitdc71bcf1b99c265fffdb1e8c60e7933612f3bca7 (patch)
treec9ff0a23acfd5b5a2dd487a13cab817e2b671a19 /firmware
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff)
downloadlinux-dc71bcf1b99c265fffdb1e8c60e7933612f3bca7.tar.xz
of: fix incorrect return value of of_find_matching_node_and_match()
The of_find_matching_node_and_match() function incorrectly sets the matched entry to 'matches' when the compatible value of a node matches one of the possible values. This results in incorrectly selecting the the first entry in the 'matches' list as the matched entry. Fix this by noting down the result of the call to of_match_node() and setting that as the matched entry. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions