diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-12-19 05:45:36 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-12-19 05:58:53 -0500 |
commit | 80c2022e5645a1a789531d13010292c5c18bf1db (patch) | |
tree | 7bed324906b50761fad619aa4890c207ed060706 /drivers/of | |
parent | 752451f01c4567b506bf4343082682dbb8fb30dd (diff) |
of: Fix export of of_find_matching_node_and_match()
Commit 50c8af4cf9, "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>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index db8d211a0d05..2390ddb22d60 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c | |||
@@ -629,7 +629,7 @@ struct device_node *of_find_matching_node_and_match(struct device_node *from, | |||
629 | read_unlock(&devtree_lock); | 629 | read_unlock(&devtree_lock); |
630 | return np; | 630 | return np; |
631 | } | 631 | } |
632 | EXPORT_SYMBOL(of_find_matching_node); | 632 | EXPORT_SYMBOL(of_find_matching_node_and_match); |
633 | 633 | ||
634 | /** | 634 | /** |
635 | * of_modalias_node - Lookup appropriate modalias for a device node | 635 | * of_modalias_node - Lookup appropriate modalias for a device node |