]> git.baikalelectronics.ru Git - kernel.git/commit
of: Fix export of of_find_matching_node_and_match()
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 19 Dec 2012 10:45:36 +0000 (10:45 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 19 Dec 2012 10:58:53 +0000 (10:58 +0000)
commitda5b16e73150005f2bdd3bc0a18c5f815c2e8eb0
tree7bed324906b50761fad619aa4890c207ed060706
parente5ae65e20679da5776745b90fafd5b315edd5f06
of: Fix export of of_find_matching_node_and_match()

Commit b13934367f, "of: introduce for_each_matching_node_and_match()"
renamed of_find_matching_node() to of_find_matching_node_and_match() and
created a new static inline of_find_matching_node() wrapper around the
new name. However, the change neglected to change the EXPORT_SYMBOL()
reference causing build errors for modules.

This patch fixes the EXPORT_SYMBOL() statement. Discovered on a PowerPC
Efika build with the mpc52xx_uart driver being built as a module.

Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/base.c